MCPcopy Create free account
hub / github.com/apache/arrow / LocaleExists

Function LocaleExists

cpp/src/arrow/testing/gtest_util.cc:638–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636#endif
637
638bool LocaleExists(const char* locale) {
639 try {
640 std::locale loc(locale);
641 return true;
642 } catch (std::runtime_error&) {
643 return false;
644 }
645}
646
647class LocaleGuard::Impl {
648 public:

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected