MCPcopy Create free account
hub / github.com/IBAMR/IBAMR / ResetLocale

Method ResetLocale

ibtk/contrib/muparser/src/muParserBase.cpp:230–234  ·  view source on GitHub ↗

--------------------------------------------------------------------------- \brief Resets the locale. The default locale used "." as decimal separator, no thousands separator and "," as function argument separator. */

Source from the content-addressed store, hash-verified

228 "," as function argument separator.
229 */
230 void ParserBase::ResetLocale()
231 {
232 s_locale = std::locale(std::locale("C"), new change_dec_sep<char_type>('.'));
233 SetArgSep(',');
234 }
235
236 //---------------------------------------------------------------------------
237 /** \brief Initialize the token reader.

Callers 2

muParserDLL.cppFile · 0.80
TestLocalizationMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestLocalizationMethod · 0.64