From cdb1a96ce61fd179911ac175d298decba26b5910 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 15 Sep 2016 17:26:49 +0300 Subject: Add io_error alias for std::ios_base::failure --- brep/types | 2 ++ 1 file changed, 2 insertions(+) (limited to 'brep') diff --git a/brep/types b/brep/types index 67a32fd..88488c9 100644 --- a/brep/types +++ b/brep/types @@ -15,6 +15,7 @@ #include #include // function, reference_wrapper +#include // ios_base::failure #include // exception #include // logic_error, invalid_argument, runtime_error #include @@ -62,6 +63,7 @@ namespace brep using std::invalid_argument; using std::runtime_error; using std::system_error; + using io_error = std::ios_base::failure; // // -- cgit v1.1