質問

How do I access "locale" and "global" without using the syntax

 using namespace std

Its the following syntax I have problem with

 #include <locale>

 locale::global(locale("swedish"));

Thanks in advance!

役に立ちましたか?

解決

locale lives in the std namespace:

std::locale::global(std::locale("swedish"));
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top