mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-16 00:46:03 +08:00
Fixed duplicate etl::declval definition.
This commit is contained in:
parent
dd89f1c748
commit
9c4d8d6f1d
@ -89,7 +89,7 @@ namespace etl
|
||||
{
|
||||
public:
|
||||
variant_incorrect_type_exception(string_type file_name_, numeric_type line_number_)
|
||||
: variant_exception(ETL_ERROR_TEXT("variant: unsupported type", ETL_VARIANT_FILE_ID"A"), file_name_, line_number_)
|
||||
: variant_exception(ETL_ERROR_TEXT("variant:unsupported type", ETL_VARIANT_FILE_ID"A"), file_name_, line_number_)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
@ -437,14 +437,6 @@ namespace etl
|
||||
inline constexpr in_place_index_t<I> in_place_index{};
|
||||
#endif
|
||||
|
||||
//***************************************************************************
|
||||
/// declval
|
||||
//***************************************************************************
|
||||
#if ETL_USING_CPP11
|
||||
template <typename T>
|
||||
typename etl::add_rvalue_reference<T>::type declval() ETL_NOEXCEPT;
|
||||
#endif
|
||||
|
||||
#if ETL_USING_CPP11
|
||||
//*************************************************************************
|
||||
/// A function wrapper for free/global functions.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user