Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-04-18 14:12:45

> namespace detail {
> typedef ::mbstate_t mbstate_t;
> #else
> typedef std::mbstate_t mbstate_t;
> #endif
> }
> and then use detail::mbstate_t inside the affected boost header files.
This will
> make the boost files compatible with each other, and users of those
headers will
> be able to use whichever one of ::mbstate_t or std::mbstate_t their
> provides.
I had this problem with BCB too. The solution may be likely used here.
Regex (boost/regex/config.hpp) has code to deal with it.


Boost list run by bdawes at, gregod at, cpdaniel at, john at