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

Method ResetLocale

libraries/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 1

muParserDLL.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected