text
stringlengths 0
2.2M
|
---|
#else
|
false;
|
#endif
|
// case 7
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_BASELINE_LIBRARY)
|
#include <cctype>
|
#endif
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_MISCELLANEOUS_UTILITIES)
|
#include <locale>
|
#endif
|
static const bool
|
u_BSLS_LIBRARYFEATURES_HAS_CPP11_MISCELLANEOUS_UTILITIES_defined =
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_MISCELLANEOUS_UTILITIES)
|
true;
|
#else
|
false;
|
#endif
|
// case 6
|
#if defined(BSLS_LIBRARYFEATURES_HAS_C99_LIBRARY)
|
#include <cstdlib>
|
#include <cctype>
|
#include <cmath>
|
#endif
|
#if defined(BSLS_LIBRARYFEATURES_HAS_C99_SNPRINTF)
|
#include <cstdio>
|
#endif
|
static const bool u_BSLS_LIBRARYFEATURES_HAS_C99_LIBRARY_defined =
|
#if defined(BSLS_LIBRARYFEATURES_HAS_C99_LIBRARY)
|
true;
|
#else
|
false;
|
#endif
|
static const bool u_BSLS_LIBRARYFEATURES_HAS_C99_SNPRINTF_defined =
|
#if defined(BSLS_LIBRARYFEATURES_HAS_C99_SNPRINTF)
|
true;
|
#else
|
false;
|
#endif
|
// case 5
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_UNIQUE_PTR) || \
|
defined(BSLS_LIBRARYFEATURES_HAS_CPP11_UNIQUE_PTR_FORCE)
|
#include <memory>
|
native_std::unique_ptr<int> up;
|
#endif
|
static const bool u_BSLS_LIBRARYFEATURES_HAS_CPP11_UNIQUE_PTR_defined =
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_UNIQUE_PTR)
|
true;
|
#else
|
false;
|
#endif
|
// case 4
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_TUPLE) || \
|
defined(BSLS_LIBRARYFEATURES_HAS_CPP11_TUPLE_FORCE)
|
#include <tuple>
|
native_std::tuple<char, short, int, float, double> t4;
|
#ifndef BSLS_COMPILERFEATURES_SUPPORT_VARIADIC_TEMPLATES
|
#error "'BSLS_LIBRARYFEATURES_HAS_CPP11_TUPLE' requires \
|
'BSLS_COMPILERFEATURES_SUPPORT_VARIADIC_TEMPLATES'"
|
#endif
|
#endif
|
static const bool u_BSLS_LIBRARYFEATURES_HAS_CPP11_TUPLE_defined =
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_TUPLE)
|
true;
|
#else
|
false;
|
#endif
|
// case 3
|
#if defined(BSLS_LIBRARYFEATURES_HAS_CPP11_PAIR_PIECEWISE_CONSTRUCTOR) || \
|
defined(BSLS_LIBRARYFEATURES_HAS_CPP11_PAIR_PIECEWISE_CONSTRUCTOR_FORCE)
|
#include <tuple>
|
#include <utility> // for 'pair' and 'piecewise_construct'
|
native_std::pair<long, double> p(native_std::piecewise_construct,
|
native_std::tuple<int>(1),
|
native_std::tuple<int>(2));
|
#ifndef BSLS_LIBRARYFEATURES_HAS_CPP11_TUPLE
|
#error "'BSLS_LIBRARYFEATURES_HAS_CPP11_PAIR_PIECEWISE_CONSTRUCTOR' \
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.