git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1784
270642c3-0616-0410-b53a-bc976706d245
// Custom includes
#include <iomanip>
-#include <string>
-#include <sstream>
#include <boost/io/ios_state.hpp>
#include <senf/Socket/Protocols/AddressExceptions.hh>
#include "ParseString.hh"
prefix_ senf::MACAddress senf::MACAddress::from_eui64(senf::EUI64 const & eui)
{
if (eui[3] != 0xffu || eui[4] != 0xfeu)
- throw AddressSyntaxException() << "EUI64 is not MAC compatible: " << eui;
+ throw AddressSyntaxException() << ": EUI64 is not MAC compatible: " << eui;
MACAddress mac (senf::noinit);
mac[0] = eui[0];
mac[1] = eui[1];
senf::comparable_safe_bool< RestrictedInt<Base,Tag> > > > > >
{
public:
+ typedef Base base_type;
+ typedef Tag tag_type;
+
explicit RestrictedInt(Base value) : value_ (value) {}
RestrictedInt() : value_ () {}