aboutsummaryrefslogtreecommitdiff
path: root/brep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-09-15 17:26:49 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-09-15 17:26:49 +0300
commitcdb1a96ce61fd179911ac175d298decba26b5910 (patch)
tree3cfa97fa7fbb58e88589201589ad253261643e2f /brep
parentcfdb36cc944f2493e0c2248f6e74001bf92d6bc5 (diff)
Add io_error alias for std::ios_base::failure
Diffstat (limited to 'brep')
-rw-r--r--brep/types2
1 files changed, 2 insertions, 0 deletions
diff --git a/brep/types b/brep/types
index 67a32fd..88488c9 100644
--- a/brep/types
+++ b/brep/types
@@ -15,6 +15,7 @@
#include <ostream>
#include <functional> // function, reference_wrapper
+#include <ios> // ios_base::failure
#include <exception> // exception
#include <stdexcept> // logic_error, invalid_argument, runtime_error
#include <system_error>
@@ -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;
// <butl/optional>
//