Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-28 16:51:38


AMDG

Sean Farrow wrote:
> Hi:
> Will Boost::Lexical_cast allow me to convert an std::sring to an
> std::bitset,

Sure, but it's probably easier to use the std::bitset constructor that
takes a std::string.

> and convert convert from std::bitset to WORD?
>

Would this member of bitset help?

unsigned long std::bitset::to_ulong() const;

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net