source: vendor/nemo/current/NEMOGCM/EXTERNAL/XIOS/extern/boost/include/boost/exception/errinfo_file_open_mode.hpp @ 44

Last change on this file since 44 was 44, checked in by cholod, 12 years ago

Load NEMO_TMP into vendor/nemo/current.

File size: 733 bytes
Line 
1//Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
2
3//Distributed under the Boost Software License, Version 1.0. (See accompanying
4//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef UUID_056F1F266C1311DE8E74299255D89593
7#define UUID_056F1F266C1311DE8E74299255D89593
8
9#include <string>
10
11namespace
12boost
13    {
14    template <class Tag,class T> class error_info;
15
16    //Usage hint:
17    //FILE * f=fopen(name,mode);
18    //if( !f )
19    //    BOOST_THROW_EXCEPTION(
20    //        file_open_error() <<
21    //        errinfo_file_name(name) <<
22    //        errinfo_file_open_mode(mode) );
23    typedef error_info<struct errinfo_file_open_mode_,std::string> errinfo_file_open_mode;
24    }
25
26#endif
Note: See TracBrowser for help on using the repository browser.