codepad
[
create a new paste
]
login
|
about
Link:
http://codepad.org/C9Wwvxjt
[
raw code
|
fork
]
Niels
-
C++
,
pasted on Jan 8:
1
2
3
4
5
6
7
struct
foo
{
explicit
foo
(
int
)
{}
};
int
main
()
{
foo
obj
=
static_cast
<
foo
>
(
42
);
}
Output:
No errors or program output.
Create a new paste based on this one
Comments: