boost::filesystem::path ne veut pas s'initialiser !
Bonjour à tous,
J'utilise boost 1.33 sous visual studio 7. Je n'arrive pas à initialiser boost::filesystem::path.
Code:
1 2
| std::string dir="c:\\";
boost::filesystem::path my_path(dir); |
Il se plante dans xstring, et plus exactement là :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| void _Tidy(bool _Built = false,
size_type _Newsize = 0)
{ // initialize buffer, deallocating any storage
if (!_Built)
;
else if (_BUF_SIZE <= _Myres)
{ // copy any leftovers to small buffer and deallocate
_Elem *_Ptr = _Bx._Ptr;
if (0 < _Newsize)
_Traits::copy(_Bx._Buf, _Ptr, _Newsize);
_Mybase::_Alval.deallocate(_Ptr, _Myres + 1);
}
_Myres = _BUF_SIZE - 1;
_Eos(_Newsize);
} |
Avec le message d'erreur : Exception non gérée...
Please... help !