Search:
Reference
<regex>
regex_traits
getloc
public member function
<regex>
std::
regex_traits
::getloc
locale_type getloc() const;
Get locale
Returns the
locale
object associated with the
regex_traits
object.
The value returned is the object set in the last call to
regex_traits::imbue
, or the global locale (
locale::global
) if
regex_traits::imbue
has not been called on the object.
This function is called by
regex::getloc
to obtain the locale.
Parameters
none
Return value
The
locale
object associated with the
regex_traits
object.
locale_type
is a member type, defined in
regex_traits
as an alias of the standard
locale
type.
See also
regex_traits::imbue
Imbue locale
(public member function)
basic_regex::getloc
Get locale
(public member function)
locale
Locale class
(class )
C++
Information
Tutorials
Reference
Articles
Forum
Reference
C library:
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
<cfenv> (fenv.h)
<cfloat> (float.h)
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
<ctgmath> (tgmath.h)
<ctime> (time.h)
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
Containers:
<array>
<deque>
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
<unordered_map>
<unordered_set>
<vector>
Input/Output:
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
Multi-threading:
<atomic>
<condition_variable>
<future>
<mutex>
<thread>
Other:
<algorithm>
<bitset>
<chrono>
<codecvt>
<complex>
<exception>
<functional>
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
<random>
<ratio>
<regex>
<stdexcept>
<string>
<system_error>
<tuple>
<typeindex>
<typeinfo>
<type_traits>
<utility>
<valarray>
<regex>
ECMAScript syntax
regex_constants
classes (basic):
basic_regex
match_results
regex_error
regex_iterator
regex_token_iterator
regex_traits
sub_match
classes (template instantiations):
cmatch
csub_match
regex
smatch
ssub_match
wcmatch
wcsub_match
wregex
wsmatch
wssub_match
functions:
regex_replace
regex_match
regex_search
regex_traits
regex_traits::regex_traits
member functions:
regex_traits::getloc
regex_traits::imbue
regex_traits::isctype
regex_traits::length
regex_traits::lookup_classname
regex_traits::lookup_collatename
regex_traits::transform
regex_traits::transform_primary
regex_traits::translate
regex_traits::translate_nocase
regex_traits::value