...
This commit is contained in:
@@ -36,7 +36,9 @@ static ValueT AdcFromChars(R&& range)
|
||||
#ifdef _LIBCPP_VERSION // clang's libc++ does not have floating-point overloads for std::from_chars
|
||||
if constexpr (traits::adc_is_any_v<v_t, char, int, long, long long, __int128>) {
|
||||
#else
|
||||
if constexpr (traits::adc_is_any_of_v<v_t, char, int, long, long long, __int128, float, double, long double>) {
|
||||
if constexpr (traits::adc_is_any_of_v<v_t, unsigned char, char, unsigned short, short, unsigned long, long,
|
||||
unsigned long long, long long, unsigned int, int, unsigned __int128, __int128,
|
||||
float, double, long double>) {
|
||||
#endif
|
||||
v_t v;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace adc
|
||||
struct AdcValueHolderErrorCategory : public std::error_category {
|
||||
AdcValueHolderErrorCategory() : std::error_category() {}
|
||||
|
||||
const char* name() const noexcept { return "DEVA_DEVICE_ATTRIBUTE"; }
|
||||
const char* name() const noexcept { return "ADC_VALUEHOLDER_CATEGORY"; }
|
||||
|
||||
std::string message(int ec) const
|
||||
{
|
||||
@@ -404,6 +404,8 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
typedef SerializedT serialized_t;
|
||||
|
||||
/* CONSTRUCTORS AND DESTRUCTOR */
|
||||
|
||||
template <typename GT,
|
||||
|
||||
Reference in New Issue
Block a user