mirror of
https://github.com/TartanLlama/expected.git
synced 2025-08-03 10:54:31 +02:00
Enable if
This commit is contained in:
@@ -17,6 +17,11 @@
|
||||
#include <type_traits>
|
||||
|
||||
namespace tl {
|
||||
namespace detail {
|
||||
template <bool E, class T = void>
|
||||
using enable_if_t = typename std::enable_if<E, T>::type;
|
||||
}
|
||||
|
||||
template <class E>
|
||||
class unexpected {
|
||||
public:
|
||||
|
Reference in New Issue
Block a user