ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Represent/Binary.cpp
(Generate patch)

Comparing Represent/represent.cpp (file contents):
Revision 365 by douglas, 2004-12-21T03:21:00-08:00 vs.
Revision 366 by douglas, 2004-12-21T03:22:38-08:00

# Line 35 | Line 35 | Binary::Binary(std::string& string, bool
35  
36          std::string::size_type index(0);
37  
38 <        _rmforeach (std::vector<char>, byte, bytes)
39 <        {
40 <                _rfor (char, bit, 0, 8)
41 <                {
42 <                        *byte |= (string[index++] == '1') << bit;
43 <                }
44 <        }
38 >        _rmforeach (std::vector<char>, byte, bytes) _rfor (char, bit, 0, 8) *byte |= (string[index++] == '1') << bit;
39   }
40  
41   template <typename Type>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines