Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #6858
Ticket #6858
: boost-get-test-ok.cc
File boost-get-test-ok.cc,
112 bytes
(added by
Roland Levillain <roland@…>
,
10 years ago
)
Line
1
#include
<boost/variant.hpp>
2
3
int
main
()
4
{
5
boost
::
variant
<
int
,
char
>
v
(
42
);
6
int
i
=
boost
::
get
<
int
>
(
v
);
7
}
Download in other formats:
Original Format