Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #12123
Ticket #12123
: Source.cpp
File Source.cpp,
231 bytes
(added by
Gabriel Marcano <gmarcano@…>
,
7 years ago
)
Reduced sample code illustrating code that fails to compile
Line
1
#include
<boost/signals2.hpp>
2
#include
<boost/variant.hpp>
3
4
typedef
boost
::
variant
<
int
>
foo
;
5
6
int
main
()
7
{
8
boost
::
signals2
::
signal
<
void
(
const
foo
&
)
>
test
;
9
test
.
connect
([](
const
foo
&
)
{});
10
test
(
foo
());
11
12
return
0
;
13
}
Download in other formats:
Original Format