Search:
GitHub Login
Preferences
My Notifications
Tickets
Wiki
GitHub
Timeline
Roadmap
Ticket Reports
Search
Context Navigation
Back to Ticket #34227
Ticket #34227
: boost-get-test-ok.cc
File boost-get-test-ok.cc,
112 bytes
(added by
roland@…
,
13 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