repo.or.cz
/
xlqstl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed problems that emerged in list.
[xlqstl.git]
/
stdexcept.cxx
blob
9e8455bbe1b98d9ae4de6c7a8ce3128e139463dd
1
#include
"stdexcept"
2
3
namespace
std
{
4
5
logic_error
::
logic_error
(
const
string
&
what_arg
):
6
what_
(
what_arg
)
7
{
8
}
9
10
logic_error
::~
logic_error
()
throw
()
11
{
12
13
}
14
15
const char
*
logic_error
::
what
()
const
throw
()
16
{
17
return
what_
.
c_str
();
18
}
19
20
out_of_range
::
out_of_range
(
const
string
&
what_arg
):
21
logic_error
(
what_arg
)
22
{
23
}
24
25
}