[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
include
/
c++
/
8
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 backward
SET
[ DEL ]
📁 bits
SET
[ DEL ]
📁 debug
SET
[ DEL ]
📁 decimal
SET
[ DEL ]
📁 experimental
SET
[ DEL ]
📁 ext
SET
[ DEL ]
📁 parallel
SET
[ DEL ]
📁 profile
SET
[ DEL ]
📁 tr1
SET
[ DEL ]
📁 tr2
SET
[ DEL ]
📁 x86_64-redhat-linux
SET
[ DEL ]
📄 algorithm
2,518 B
SET
[ EDIT ]
|
[ DEL ]
📄 any
18,604 B
SET
[ EDIT ]
|
[ DEL ]
📄 array
11,657 B
SET
[ EDIT ]
|
[ DEL ]
📄 atomic
41,057 B
SET
[ EDIT ]
|
[ DEL ]
📄 bitset
45,910 B
SET
[ EDIT ]
|
[ DEL ]
📄 cassert
1,648 B
SET
[ EDIT ]
|
[ DEL ]
📄 ccomplex
1,335 B
SET
[ EDIT ]
|
[ DEL ]
📄 cctype
2,409 B
SET
[ EDIT ]
|
[ DEL ]
📄 cerrno
1,770 B
SET
[ EDIT ]
|
[ DEL ]
📄 cfenv
2,051 B
SET
[ EDIT ]
|
[ DEL ]
📄 cfloat
1,889 B
SET
[ EDIT ]
|
[ DEL ]
📄 charconv
16,708 B
SET
[ EDIT ]
|
[ DEL ]
📄 chrono
29,874 B
SET
[ EDIT ]
|
[ DEL ]
📄 cinttypes
2,157 B
SET
[ EDIT ]
|
[ DEL ]
📄 ciso646
1,464 B
SET
[ EDIT ]
|
[ DEL ]
📄 climits
1,913 B
SET
[ EDIT ]
|
[ DEL ]
📄 clocale
1,905 B
SET
[ EDIT ]
|
[ DEL ]
📄 cmath
48,142 B
SET
[ EDIT ]
|
[ DEL ]
📄 codecvt
5,341 B
SET
[ EDIT ]
|
[ DEL ]
📄 complex
54,537 B
SET
[ EDIT ]
|
[ DEL ]
📄 complex.h
1,596 B
SET
[ EDIT ]
|
[ DEL ]
📄 condition_variable
8,954 B
SET
[ EDIT ]
|
[ DEL ]
📄 csetjmp
1,949 B
SET
[ EDIT ]
|
[ DEL ]
📄 csignal
1,855 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstdalign
1,407 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstdarg
1,868 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstdbool
1,401 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstddef
6,440 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstdint
2,167 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstdio
4,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstdlib
6,325 B
SET
[ EDIT ]
|
[ DEL ]
📄 cstring
3,123 B
SET
[ EDIT ]
|
[ DEL ]
📄 ctgmath
1,360 B
SET
[ EDIT ]
|
[ DEL ]
📄 ctime
2,125 B
SET
[ EDIT ]
|
[ DEL ]
📄 cuchar
2,210 B
SET
[ EDIT ]
|
[ DEL ]
📄 cwchar
6,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 cwctype
2,793 B
SET
[ EDIT ]
|
[ DEL ]
📄 cxxabi.h
21,977 B
SET
[ EDIT ]
|
[ DEL ]
📄 deque
2,665 B
SET
[ EDIT ]
|
[ DEL ]
📄 exception
4,803 B
SET
[ EDIT ]
|
[ DEL ]
📄 fenv.h
2,020 B
SET
[ EDIT ]
|
[ DEL ]
📄 filesystem
1,438 B
SET
[ EDIT ]
|
[ DEL ]
📄 forward_list
1,577 B
SET
[ EDIT ]
|
[ DEL ]
📄 fstream
36,787 B
SET
[ EDIT ]
|
[ DEL ]
📄 functional
37,750 B
SET
[ EDIT ]
|
[ DEL ]
📄 future
50,678 B
SET
[ EDIT ]
|
[ DEL ]
📄 initializer_list
2,974 B
SET
[ EDIT ]
|
[ DEL ]
📄 iomanip
16,547 B
SET
[ EDIT ]
|
[ DEL ]
📄 ios
1,601 B
SET
[ EDIT ]
|
[ DEL ]
📄 iosfwd
6,918 B
SET
[ EDIT ]
|
[ DEL ]
📄 iostream
2,695 B
SET
[ EDIT ]
|
[ DEL ]
📄 istream
32,843 B
SET
[ EDIT ]
|
[ DEL ]
📄 iterator
2,644 B
SET
[ EDIT ]
|
[ DEL ]
📄 limits
69,181 B
SET
[ EDIT ]
|
[ DEL ]
📄 list
2,594 B
SET
[ EDIT ]
|
[ DEL ]
📄 locale
1,488 B
SET
[ EDIT ]
|
[ DEL ]
📄 map
2,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 math.h
4,367 B
SET
[ EDIT ]
|
[ DEL ]
📄 memory
4,711 B
SET
[ EDIT ]
|
[ DEL ]
📄 mutex
18,224 B
SET
[ EDIT ]
|
[ DEL ]
📄 new
7,521 B
SET
[ EDIT ]
|
[ DEL ]
📄 numeric
5,444 B
SET
[ EDIT ]
|
[ DEL ]
📄 optional
43,963 B
SET
[ EDIT ]
|
[ DEL ]
📄 ostream
22,091 B
SET
[ EDIT ]
|
[ DEL ]
📄 queue
2,467 B
SET
[ EDIT ]
|
[ DEL ]
📄 random
1,692 B
SET
[ EDIT ]
|
[ DEL ]
📄 ratio
19,886 B
SET
[ EDIT ]
|
[ DEL ]
📄 regex
1,894 B
SET
[ EDIT ]
|
[ DEL ]
📄 scoped_allocator
16,221 B
SET
[ EDIT ]
|
[ DEL ]
📄 set
2,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 shared_mutex
19,409 B
SET
[ EDIT ]
|
[ DEL ]
📄 sstream
26,871 B
SET
[ EDIT ]
|
[ DEL ]
📄 stack
2,391 B
SET
[ EDIT ]
|
[ DEL ]
📄 stdexcept
7,975 B
SET
[ EDIT ]
|
[ DEL ]
📄 stdlib.h
2,248 B
SET
[ EDIT ]
|
[ DEL ]
📄 streambuf
30,017 B
SET
[ EDIT ]
|
[ DEL ]
📄 string
1,940 B
SET
[ EDIT ]
|
[ DEL ]
📄 string_view
20,791 B
SET
[ EDIT ]
|
[ DEL ]
📄 system_error
11,522 B
SET
[ EDIT ]
|
[ DEL ]
📄 tgmath.h
1,360 B
SET
[ EDIT ]
|
[ DEL ]
📄 thread
10,519 B
SET
[ EDIT ]
|
[ DEL ]
📄 tuple
60,350 B
SET
[ EDIT ]
|
[ DEL ]
📄 type_traits
85,871 B
SET
[ EDIT ]
|
[ DEL ]
📄 typeindex
3,093 B
SET
[ EDIT ]
|
[ DEL ]
📄 typeinfo
7,692 B
SET
[ EDIT ]
|
[ DEL ]
📄 unordered_map
1,848 B
SET
[ EDIT ]
|
[ DEL ]
📄 unordered_set
1,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 utility
12,303 B
SET
[ EDIT ]
|
[ DEL ]
📄 valarray
40,274 B
SET
[ EDIT ]
|
[ DEL ]
📄 variant
48,242 B
SET
[ EDIT ]
|
[ DEL ]
📄 vector
2,747 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: stdexcept
// Standard exception classes -*- C++ -*- // Copyright (C) 2001-2018 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // Under Section 7 of GPL version 3, you are granted additional // permissions described in the GCC Runtime Library Exception, version // 3.1, as published by the Free Software Foundation. // You should have received a copy of the GNU General Public License and // a copy of the GCC Runtime Library Exception along with this program; // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. /** @file include/stdexcept * This is a Standard C++ Library header. */ // // ISO C++ 19.1 Exception classes // #ifndef _GLIBCXX_STDEXCEPT #define _GLIBCXX_STDEXCEPT 1 #pragma GCC system_header #include <exception> #include <string> namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION #if _GLIBCXX_USE_DUAL_ABI #if _GLIBCXX_USE_CXX11_ABI // Emulates an old COW string when the new std::string is in use. struct __cow_string { union { const char* _M_p; char _M_bytes[sizeof(const char*)]; }; __cow_string(); __cow_string(const std::string&); __cow_string(const char*, size_t); __cow_string(const __cow_string&) _GLIBCXX_USE_NOEXCEPT; __cow_string& operator=(const __cow_string&) _GLIBCXX_USE_NOEXCEPT; ~__cow_string(); #if __cplusplus >= 201103L __cow_string(__cow_string&&) noexcept; __cow_string& operator=(__cow_string&&) noexcept; #endif }; typedef basic_string<char> __sso_string; #else // _GLIBCXX_USE_CXX11_ABI typedef basic_string<char> __cow_string; // Emulates a new SSO string when the old std::string is in use. struct __sso_string { struct __str { const char* _M_p; size_t _M_string_length; char _M_local_buf[16]; }; union { __str _M_s; char _M_bytes[sizeof(__str)]; }; __sso_string() _GLIBCXX_USE_NOEXCEPT; __sso_string(const std::string&); __sso_string(const char*, size_t); __sso_string(const __sso_string&); __sso_string& operator=(const __sso_string&); ~__sso_string(); #if __cplusplus >= 201103L __sso_string(__sso_string&&) noexcept; __sso_string& operator=(__sso_string&&) noexcept; #endif }; #endif // _GLIBCXX_USE_CXX11_ABI #else // _GLIBCXX_USE_DUAL_ABI typedef basic_string<char> __sso_string; typedef basic_string<char> __cow_string; #endif /** * @addtogroup exceptions * @{ */ /** Logic errors represent problems in the internal logic of a program; * in theory, these are preventable, and even detectable before the * program runs (e.g., violations of class invariants). * @brief One of two subclasses of exception. */ class logic_error : public exception { __cow_string _M_msg; public: /** Takes a character string describing the error. */ explicit logic_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit logic_error(const char*) _GLIBCXX_TXN_SAFE; #endif #if _GLIBCXX_USE_CXX11_ABI || _GLIBCXX_DEFINE_STDEXCEPT_COPY_OPS logic_error(const logic_error&) _GLIBCXX_USE_NOEXCEPT; logic_error& operator=(const logic_error&) _GLIBCXX_USE_NOEXCEPT; #endif virtual ~logic_error() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT; /** Returns a C-style character string describing the general cause of * the current error (the same string passed to the ctor). */ virtual const char* what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT; # ifdef _GLIBCXX_TM_TS_INTERNAL friend void* ::_txnal_logic_error_get_msg(void* e); # endif }; /** Thrown by the library, or by you, to report domain errors (domain in * the mathematical sense). */ class domain_error : public logic_error { public: explicit domain_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit domain_error(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~domain_error() _GLIBCXX_USE_NOEXCEPT; }; /** Thrown to report invalid arguments to functions. */ class invalid_argument : public logic_error { public: explicit invalid_argument(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit invalid_argument(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~invalid_argument() _GLIBCXX_USE_NOEXCEPT; }; /** Thrown when an object is constructed that would exceed its maximum * permitted size (e.g., a basic_string instance). */ class length_error : public logic_error { public: explicit length_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit length_error(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~length_error() _GLIBCXX_USE_NOEXCEPT; }; /** This represents an argument whose value is not within the expected * range (e.g., boundary checks in basic_string). */ class out_of_range : public logic_error { public: explicit out_of_range(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit out_of_range(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~out_of_range() _GLIBCXX_USE_NOEXCEPT; }; /** Runtime errors represent problems outside the scope of a program; * they cannot be easily predicted and can generally only be caught as * the program executes. * @brief One of two subclasses of exception. */ class runtime_error : public exception { __cow_string _M_msg; public: /** Takes a character string describing the error. */ explicit runtime_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit runtime_error(const char*) _GLIBCXX_TXN_SAFE; #endif #if _GLIBCXX_USE_CXX11_ABI || _GLIBCXX_DEFINE_STDEXCEPT_COPY_OPS runtime_error(const runtime_error&) _GLIBCXX_USE_NOEXCEPT; runtime_error& operator=(const runtime_error&) _GLIBCXX_USE_NOEXCEPT; #endif virtual ~runtime_error() _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT; /** Returns a C-style character string describing the general cause of * the current error (the same string passed to the ctor). */ virtual const char* what() const _GLIBCXX_TXN_SAFE_DYN _GLIBCXX_USE_NOEXCEPT; # ifdef _GLIBCXX_TM_TS_INTERNAL friend void* ::_txnal_runtime_error_get_msg(void* e); # endif }; /** Thrown to indicate range errors in internal computations. */ class range_error : public runtime_error { public: explicit range_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit range_error(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~range_error() _GLIBCXX_USE_NOEXCEPT; }; /** Thrown to indicate arithmetic overflow. */ class overflow_error : public runtime_error { public: explicit overflow_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit overflow_error(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~overflow_error() _GLIBCXX_USE_NOEXCEPT; }; /** Thrown to indicate arithmetic underflow. */ class underflow_error : public runtime_error { public: explicit underflow_error(const string& __arg) _GLIBCXX_TXN_SAFE; #if __cplusplus >= 201103L explicit underflow_error(const char*) _GLIBCXX_TXN_SAFE; #endif virtual ~underflow_error() _GLIBCXX_USE_NOEXCEPT; }; // @} group exceptions _GLIBCXX_END_NAMESPACE_VERSION } // namespace #endif /* _GLIBCXX_STDEXCEPT */