Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

std::exception(3cxx) [debian man page]

std::exception(3cxx)													      std::exception(3cxx)

NAME
std::exception - SYNOPSIS
Inherited by __gnu_cxx::__concurrence_broadcast_error, __gnu_cxx::__concurrence_lock_error, __gnu_cxx::__concurrence_unlock_error, __gnu_cxx::__concurrence_wait_error, __gnu_cxx::forced_error, __gnu_cxx::recursive_init_error, std::bad_alloc, std::bad_cast, std::bad_exception, std::bad_function_call, std::bad_typeid, std::bad_weak_ptr, std::ios_base::failure, std::logic_error, and std::runtime_error. Public Member Functions virtual const char * what () const throw () Detailed Description Base class for all library exceptions. This is the base class for all exceptions thrown by the standard library, and by certain language expressions. You are free to derive your own exception classes, or use a different hierarchy, or to throw non-class data (e.g., fundamental types). Definition at line 61 of file exception. Member Function Documentation virtual const char* std::exception::what () const throw () [virtual] Returns a C-style character string describing the general cause of the current error. Reimplemented in std::ios_base::failure, std::bad_typeid, std::bad_cast, std::runtime_error, std::future_error, std::bad_exception, std::logic_error, std::bad_alloc, and std::bad_weak_ptr. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::exception(3cxx)

Check Out this Related Man Page

std::integral_constant< _Tp, __v >(3cxx)								  std::integral_constant< _Tp, __v >(3cxx)

NAME
std::integral_constant< _Tp, __v > - SYNOPSIS
Inherited by std::__is_integral_helper< typename >, std::__is_signed_helper< _Tp, bool, bool >, std::__is_void_helper< typename >, std::__uses_allocator_helper< _Tp, _Alloc, bool >, std::chrono::__is_duration< _Tp >, std::is_array< _Tp[_Size]>, std::is_bind_expression< _Bind< _Signature > >, std::is_bind_expression< _Bind_result< _Result, _Signature > >, std::is_error_code_enum< _Tp >, std::is_error_code_enum< future_errc >, std::is_function< typename >, std::is_function< _Res(_ArgTypes...) const >, std::is_function< _Res(_ArgTypes...) const volatile >, std::is_function< _Res(_ArgTypes...)>, std::is_function< _Res(_ArgTypes......) const >, std::is_function< _Res(_ArgTypes......) const volatile >, std::is_function< _Res(_ArgTypes......) volatile >, std::is_lvalue_reference< typename >, std::is_rvalue_reference< typename >, std::is_rvalue_reference< _Tp && >, std::uses_allocator< priority_queue< _Tp, _Sequence, _Compare >, _Alloc >, std::uses_allocator< queue< _Tp, _Seq >, _Alloc >, and std::uses_allocator< stack< _Tp, _Seq >, _Alloc >. Public Types typedef integral_constant< _Tp, __v > type" typedef _Tp value_type Public Member Functions constexpr operator value_type () Static Public Attributes static constexpr _Tp value Detailed Description template<typename _Tp, _Tp __v>struct std::integral_constant< _Tp, __v > integral_constant Definition at line 72 of file type_traits. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::integral_constant< _Tp, __v >(3cxx)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

client and server programs

Hello, Looking at the asio.sourceforge.net library, I found a tutorial to develop simple client and server programs. Below I am pasting the client and the server. On my Fedora Core 4, I can compile the two programs(client is 'a' and server is 'daytime', but I have no idea on how to test them... ... (8 Replies)
Discussion started by: JCR
8 Replies

2. Programming

issue with fastcgi program

Hello, I am strugglign with the following fastcgi C++ program with access to a postgresql database through the SOCI library. All the components work individually properlyy but the combination does not. The program compiles fine but the Apapche 2.2 error log files contains: FastCGI: comm... (0 Replies)
Discussion started by: JCR
0 Replies

3. Programming

Boost C++ ASIO Networking

Hi, Based on the following example in the Boost C++ website: www. boost.org/doc/libs/1_47_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp]doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp I tried to create a similar TCP server that waits to accept a client connection... (0 Replies)
Discussion started by: tanlccc
0 Replies

4. Programming

C++ Exception class missing?

Hi I tried googling about it and I couldn't really find a solid answer. Why is the compiler missing the exception class when it seems to be a standard class? The code is here: //Rijndael.h #ifndef __RIJNDAEL_H__ #define __RIJNDAEL_H__ #include <exception> #include <cstring> using... (6 Replies)
Discussion started by: flagman5
6 Replies

5. Programming

C++ string class design and implementation

Hi, I am designing the look-alike C++ string class: #include <iostream> #include <cstring> #include <exception> #include <new> #define ALLOC(N) (char*) new char #define DELETE(P) delete ((char*)(P)) class String { public: // conversions: to C-like type char operator const... (2 Replies)
Discussion started by: royalibrahim
2 Replies