text
stringlengths 0
2.2M
|
---|
"=================================================\n");
|
if (veryVeryVerbose) P(BSLS_PLATFORM_CMP_VERSION);
|
#if defined(BSLS_LIBRARYFEATURES_STDCPP_GNU)
|
#ifdef BSLS_PLATFORM_CMP_GNU
|
#elif BSLS_PLATFORM_CMP_CLANG
|
#elif BSLS_PLATFORM_CMP_SUN && BSLS_PLATFORM_CMP_VERSION >= 0x5130
|
#else
|
#error Unexpected compiler for GNU LibStdC++.
|
#endif
|
#elif defined(BSLS_LIBRARYFEATURES_STDCPP_MSVC)
|
#ifdef BSLS_PLATFORM_CMP_MSVC
|
#else
|
#error Unexpected compiler for Microsoft STL.
|
#endif
|
#elif defined(BSLS_LIBRARYFEATURES_STDCPP_LLVM)
|
#ifdef BSLS_PLATFORM_CMP_CLANG
|
#else
|
#error Unexpected compiler for LLVM LibC++.
|
#endif
|
#elif defined(BSLS_LIBRARYFEATURES_STDCPP_LIBCSTD)
|
#ifdef BSLS_PLATFORM_CMP_SUN
|
#else
|
#error Unexpected compiler for RogueWave STL.
|
#endif
|
#elif defined(BSLS_LIBRARYFEATURES_STDCPP_STLPORT)
|
#ifdef BSLS_PLATFORM_CMP_SUN
|
#else
|
#error Unexpected compiler for STLPort.
|
#endif
|
#elif defined(BSLS_LIBRARYFEATURES_STDCPP_IBM)
|
#ifdef BSLS_PLATFORM_CMP_IBM
|
#else
|
#error Unexpected compiler for IBM STL.
|
#endif
|
#else
|
#error Unexpected standard library implementation. Please update test driver.
|
#endif
|
} break;
|
case 9: {
|
// --------------------------------------------------------------------
|
// TESTING 'BSLS_LIBRARYFEATURES_HAS_CPP14_BASELINE_LIBRARY'
|
//
|
// Concerns:
|
//: 1 The 'BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY' flag is
|
//: defined when the native standard library defines the following
|
//: functions and types:
|
//:
|
//: o Type defined in '<functional>'
|
//: o bit_not
|
//:
|
//: o Function defined in '<iterator>'
|
//: o make_reverse_iterator
|
//:
|
//: o Function defined in '<iomanip>'
|
//: o quoted
|
//:
|
//: o UDLs support for '<chrono>'
|
//:
|
//: o UDLs support for '<complex>'
|
//
|
// Plan:
|
//: 1 When 'BSLS_LIBRARYFEATURES_HAS_CPP14_BASELINE_LIBRARY' is defined
|
//: conditionally compile code that includes '<functional>',
|
//: '<iomanip>', '<iterator>', '<chrono>', '<complex>' and uses each
|
//: of the listed function templates at least once.
|
//
|
// Testing:
|
// BSLS_LIBRARYFEATURES_HAS_CPP14_BASELINE_LIBRARY
|
// --------------------------------------------------------------------
|
if (verbose) printf(
|
"TESTING 'BSLS_LIBRARYFEATURES_HAS_CPP14_BASELINE_LIBRARY'\n"
|
"=========================================================\n");
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP14_BASELINE_LIBRARY)
|
useCpp14Algorithms();
|
#endif
|
if (verbose) {
|
P(u_BSLS_LIBRARYFEATURES_HAS_CPP14_BASELINE_LIBRARY_defined)
|
}
|
if (veryVeryVerbose) P(BSLS_PLATFORM_CMP_VERSION);
|
} break;
|
case 8: {
|
// --------------------------------------------------------------------
|
// TESTING 'BSLS_LIBRARYFEATURES_HAS_CPP17_PRECISE_BITWIDTH_ATOMICS'
|
//
|
// Concerns:
|
//: 1 The 'BSLS_LIBRARYFEATURES_HAS_CPP17_PRECISE_BITWIDTH_ATOMICS'
|
//: flag is defined when the native standard library defines the
|
//: following types:
|
//:
|
//: o Types defined in '<atomic>'
|
//:
|
//: o atomic class template and specializations for precise
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.