Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is the symbol
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Sat Dec 03, 2016 3:11 am    Post subject: Where is the symbol Reply with quote

Hi, ALL,
Code:

IgorDellGentoo include # grep -ri "wstring_convert" *
boost/filesystem/path.hpp:    //  std::wstring_convert.
boost/filesystem/path.hpp:    //  using a conversion object modeled on std::wstring_convert.
boost/asio/detail/impl/socket_ops.ipp:        std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
boost/asio/detail/winrt_utils.hpp:  std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
IgorDellGentoo include # pwd
/usr/include


Which header I should include for that symbol? Just

Code:

#include <wstring>


?

Thank you.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Sat Dec 03, 2016 5:25 am    Post subject: Reply with quote

It should be pulled in automatically by any Boost headers which need it. If you want it for your own use, cppreference says to include <locale>.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3551

PostPosted: Sat Dec 03, 2016 5:37 am    Post subject: Reply with quote

Thank you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum