New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
errinfo_file_open_mode.hpp in vendors/XIOS/current/extern/boost/include/boost/exception – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/exception/errinfo_file_open_mode.hpp @ 3408

Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
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.