Changeset 3845


Ignore:
Timestamp:
Sep 13, 2019, 1:54:34 PM (5 weeks ago)
Author:
Peter
Message:

remove exception specifications, which are deprecated in C++11, http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3051.html

Location:
trunk/yat
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/Target.cc

    r3661 r3845  
    7777
    7878
    79   Target::Target(std::istream& is, char sep)
    80     throw (utility::IO_error,std::exception)
     79  Target::Target(std::istream& is, char sep)
    8180  {
    8281    std::vector<std::string> vec;
  • trunk/yat/classifier/Target.h

    r2119 r3845  
    6767    /// @brief istream constructor.
    6868    ///
    69     Target(std::istream&, char sep='\0')
    70       throw (utility::IO_error,std::exception);
     69    Target(std::istream&, char sep='\0');
    7170
    7271    ///
  • trunk/yat/utility/Matrix.cc

    r3743 r3845  
    8383  // Constructor that gets data from istream
    8484  Matrix::Matrix(std::istream& is, char sep)
    85     throw (utility::IO_error,std::exception)
    8685    : blas_result_(NULL)
    8786  {
  • trunk/yat/utility/Matrix.h

    r3792 r3845  
    235235       unexpected input is found in the input stream.
    236236    */
    237     explicit Matrix(std::istream &, char sep='\0')
    238       throw(utility::IO_error, std::exception);
     237    explicit Matrix(std::istream &, char sep='\0');
    239238
    240239    /**
  • trunk/yat/utility/Vector.cc

    r3743 r3845  
    8080
    8181  Vector::Vector(std::istream& is, char sep)
    82     throw (utility::IO_error, std::exception)
    8382    : VectorMutable()
    8483  {
  • trunk/yat/utility/Vector.h

    r3691 r3845  
    131131       unexpected input is found in the input stream.
    132132    */
    133     explicit Vector(std::istream &, char sep='\0')
    134       throw(utility::IO_error, std::exception);
     133    explicit Vector(std::istream &, char sep='\0');
    135134
    136135    ///
Note: See TracChangeset for help on using the changeset viewer.