Правка условий

This commit is contained in:
Andrei Astafev 2020-07-09 15:45:32 +03:00
parent e97025a81e
commit ec720ff8f4

View File

@ -19,22 +19,22 @@ using underlying_type_t = typename std::underlying_type< T >::type;
template< typename T, typename ... Args >
std::unique_ptr< T > make_unique( Args&&... args )
{
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
return( std::unique_ptr< T >( new T( std::forward< Args >( args )... ) ) );
}
} // namespace std
#endif
#if ( __cplusplus >= 201103L ) && ( __cplusplus < 201702L )
#if ( ( __cplusplus >= 201103L ) && ( __cplusplus < 201402L ) ) || \
( ( __cplusplus >= 201402L ) && ( __cplusplus < 201702L ) && defined( __STRICT_ANSI__ ) )
namespace std
{
#if defined( __STRICT_ANSI__ ) || ( __e2k__ )
template< typename ... Ts > struct make_void { typedef void type; };
template< typename ... Ts > using void_t = typename make_void< Ts... >::type;
#endif
} // namespace std