forked from boostorg/static_string
Fix macro definition in docs, update CI links and config.hpp
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
|
||||
Branch | Travis | Appveyor | Azure Pipelines | codecov.io | Docs | Matrix |
|
||||
:-------------: | ------ | -------- | --------------- | ---------- | ---- | ------ |
|
||||
[`master`](https://github.com/sdkrystian/static_string/tree/master) | [](https://travis-ci.org/sdkrystian/static_string) | [](https://ci.appveyor.com/project/sdkrystian/static-string/branch/master) | [](https://dev.azure.com/krystiands/static_string/_build/latest?definitionId=1&branchName=master) | [](https://codecov.io/gh/sdkrystian/static_string/branch/master) | [](https://sdkrystian.github.io/doc/static_string) | [](http://www.boost.org/development/tests/master/developer/static_string.html)
|
||||
[`develop`](https://github.com/sdkrystian/static_string/tree/develop) | [](https://travis-ci.org/sdkrystian/static_string) | [](https://ci.appveyor.com/project/sdkrystian/static-string/branch/develop) | [](https://dev.azure.com/krystiands/static_string/_build/latest?definitionId=1&branchName=develop) | [](https://codecov.io/gh/sdkrystian/static_string/branch/develop) | [](http://www.boost.org/doc/libs/develop/doc/html/static_string.html) | [](http://www.boost.org/development/tests/develop/developer/static_string.html)
|
||||
[`master`](https://github.com/boostorg/static_string/tree/master) | [](https://travis-ci.org/boostorg/static_string) | [](https://ci.appveyor.com/project/sdkrystian/static-string/branch/master) | [](https://dev.azure.com/krystiands/static_string/_build/latest?definitionId=1&branchName=master) | [](https://codecov.io/gh/boostorg/static_string/branch/master) | [](https://sdkrystian.github.io/doc/static_string) | [](http://www.boost.org/development/tests/master/developer/static_string.html)
|
||||
[`develop`](https://github.com/boostorg/static_string/tree/develop) | [](https://travis-ci.org/boostorg/static_string) | [](https://ci.appveyor.com/project/sdkrystian/static-string/branch/develop) | [](https://dev.azure.com/krystiands/static_string/_build/latest?definitionId=1&branchName=develop) | [](https://codecov.io/gh/boostorg/static_string/branch/develop) | [](http://www.boost.org/doc/libs/develop/doc/html/static_string.html) | [](http://www.boost.org/development/tests/develop/developer/static_string.html)
|
||||
|
||||
## Introduction
|
||||
|
||||
|
@ -35,7 +35,7 @@ INCLUDE_PATH = ../
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
|
||||
PREDEFINED = \
|
||||
GENERATING_DOCUMENTATION
|
||||
BOOST_STATIC_STRING_DOCS
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
|
||||
|
@ -64,35 +64,29 @@
|
||||
#define BOOST_STATIC_STRING_STANDARD_VERSION __cplusplus
|
||||
#endif
|
||||
|
||||
#if BOOST_STATIC_STRING_STANDARD_VERSION > 201703L
|
||||
#define BOOST_STATIC_STRING_CPP20
|
||||
#define BOOST_STATIC_STRING_CPP17
|
||||
#define BOOST_STATIC_STRING_CPP14
|
||||
#define BOOST_STATIC_STRING_CPP11
|
||||
#define BOOST_STATIC_STRING_CPP20_CONSTEXPR constexpr
|
||||
#define BOOST_STATIC_STRING_CPP17_CONSTEXPR constexpr
|
||||
#define BOOST_STATIC_STRING_CPP14_CONSTEXPR constexpr
|
||||
#define BOOST_STATIC_STRING_CPP11_CONSTEXPR constexpr
|
||||
#elif BOOST_STATIC_STRING_STANDARD_VERSION >= 201703L
|
||||
#define BOOST_STATIC_STRING_CPP17
|
||||
#define BOOST_STATIC_STRING_CPP14
|
||||
#define BOOST_STATIC_STRING_CPP11
|
||||
#define BOOST_STATIC_STRING_CPP20_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP17_CONSTEXPR constexpr
|
||||
#define BOOST_STATIC_STRING_CPP14_CONSTEXPR constexpr
|
||||
#define BOOST_STATIC_STRING_CPP11_CONSTEXPR constexpr
|
||||
#elif BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L
|
||||
#define BOOST_STATIC_STRING_CPP14
|
||||
#define BOOST_STATIC_STRING_CPP11
|
||||
#define BOOST_STATIC_STRING_CPP20_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP17_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP14_CONSTEXPR constexpr
|
||||
#define BOOST_STATIC_STRING_CPP11_CONSTEXPR constexpr
|
||||
#else
|
||||
#define BOOST_STATIC_STRING_CPP11
|
||||
#define BOOST_STATIC_STRING_CPP20_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP17_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP11_CONSTEXPR
|
||||
|
||||
#if BOOST_STATIC_STRING_STANDARD_VERSION >= 202002L
|
||||
#define BOOST_STATIC_STRING_CPP20
|
||||
#undef BOOST_STATIC_STRING_CPP20_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP20_CONSTEXPR constexpr
|
||||
#endif
|
||||
#if BOOST_STATIC_STRING_STANDARD_VERSION >= 201703L
|
||||
#define BOOST_STATIC_STRING_CPP17
|
||||
#undef BOOST_STATIC_STRING_CPP17_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP17_CONSTEXPR constexpr
|
||||
#endif
|
||||
#if BOOST_STATIC_STRING_STANDARD_VERSION >= 201402L
|
||||
#define BOOST_STATIC_STRING_CPP14
|
||||
#undef BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP14_CONSTEXPR constexpr
|
||||
#endif
|
||||
#if BOOST_STATIC_STRING_STANDARD_VERSION >= 201103L
|
||||
#define BOOST_STATIC_STRING_CPP11
|
||||
#undef BOOST_STATIC_STRING_CPP11_CONSTEXPR
|
||||
#define BOOST_STATIC_STRING_CPP11_CONSTEXPR constexpr
|
||||
#endif
|
||||
|
||||
@ -173,6 +167,6 @@ using basic_string_view =
|
||||
#else
|
||||
std::basic_string_view<CharT, Traits>;
|
||||
#endif
|
||||
} // static_string
|
||||
} // static_strings
|
||||
} // boost
|
||||
#endif
|
@ -12,6 +12,7 @@
|
||||
#define BOOST_STATIC_STRING_STATIC_STRING_HPP
|
||||
|
||||
#include <boost/static_string/config.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
@ -875,7 +876,6 @@ public:
|
||||
BOOST_STATIC_STRING_CPP14_CONSTEXPR
|
||||
basic_static_string(const_pointer s);
|
||||
|
||||
|
||||
/** Construct a `basic_static_string`.
|
||||
|
||||
Construct from a range of characters
|
||||
@ -4858,7 +4858,7 @@ hash_value(
|
||||
return boost::hash_range(str.begin(), str.end());
|
||||
}
|
||||
#endif
|
||||
} // static_string
|
||||
} // static_strings
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
//
|
||||
@ -5498,7 +5498,7 @@ insert_unchecked(
|
||||
this->set_size(curr_size + count);
|
||||
return curr_data + index;
|
||||
}
|
||||
} // static_string
|
||||
} // static_strings
|
||||
} // boost
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user