rename __static_const to _static_const (reserved identifier)
This commit is contained in:
parent
d2f8d439f9
commit
34c9f092a2
@ -206,18 +206,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…
Reference in New Issue
Block a user