rename __static_const to _static_const (reserved identifier)
This commit is contained in:
parent
d54d6bb84c
commit
877d96c1d8
1 changed files with 4 additions and 4 deletions
|
@ -220,18 +220,18 @@ struct DecimalSeparator : std::numpunct<char>
|
||||||
// taken from ranges-v3
|
// taken from ranges-v3
|
||||||
// TODO add doc
|
// TODO add doc
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct __static_const
|
struct _static_const
|
||||||
{
|
{
|
||||||
static constexpr T value{};
|
static constexpr T value{};
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
constexpr T __static_const<T>::value;
|
constexpr T _static_const<T>::value;
|
||||||
|
|
||||||
inline namespace
|
inline namespace
|
||||||
{
|
{
|
||||||
constexpr auto const& to_json = __static_const<detail::to_json_fn>::value;
|
constexpr auto const& to_json = _static_const<detail::to_json_fn>::value;
|
||||||
constexpr auto const& from_json = __static_const<detail::from_json_fn>::value;
|
constexpr auto const& from_json = _static_const<detail::from_json_fn>::value;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Add table
Reference in a new issue