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 368 by douglas, 2004-12-21T03:26:56-08:00 vs.
Revision 369 by douglas, 2004-12-21T03:32:17-08:00

# Line 25 | Line 25 | public:
25  
26   Binary::Binary(std::string& string, bool signed_) : bytes(string.size() / 8, 0)
27   {
28 +        if (string.find_first_not_of("01") != std::string::npos) throw;
29 +
30          std::string::size_type off(string.size() % 8);
31  
32          if (off != 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines