mirror of
https://github.com/boostorg/optional.git
synced 2025-07-16 05:42:07 +02:00
fixed C++98-incompatible unit test
This commit is contained in:
@ -39,8 +39,15 @@ struct trait<T, BOOST_DEDUCED_TYPENAME void_t<BOOST_DEDUCED_TYPENAME T::value_ty
|
||||
// This class emulates the properties of std::filesystem::path
|
||||
struct Path
|
||||
{
|
||||
|
||||
#if __cplusplus >= 201103
|
||||
template <typename T, typename = BOOST_DEDUCED_TYPENAME trait<T>::value_type>
|
||||
Path(T const&);
|
||||
#else
|
||||
template <typename T>
|
||||
Path(T const&, BOOST_DEDUCED_TYPENAME trait<T>::value_type* = 0);
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user