From 3473cc68f59911cb6659634fdc577f882c8128de Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 15 Sep 2016 17:06:24 +0300 Subject: Add io_error alias for std::ios_base::failure --- build2/types | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build2/types') diff --git a/build2/types b/build2/types index c90b779..19fe888 100644 --- a/build2/types +++ b/build2/types @@ -17,7 +17,7 @@ #include // function, reference_wrapper #include - +#include // ios_base::failure #include // exception #include // logic_error, invalid_argument, runtime_error #include @@ -70,6 +70,7 @@ namespace build2 using std::invalid_argument; using std::runtime_error; using std::system_error; + using io_error = std::ios_base::failure; // // -- cgit v1.1