Boost logo

Boost Users :

From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2008-06-29 03:22:56


Hi:
Thanks for the that, the ulong memboer will help, I carn' use the string
constructor, these are global variables.
Sean.

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Steven
Watanabe
Sent: 28 June 2008 21:52
To: boost-users_at_[hidden]
Subject: [BULK] Re: [Boost-users] Boost::Lexical_cast query
Importance: Low

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 mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3225 (20080629) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3225 (20080629) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


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