Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #12397
Ticket #12397
: test_case.cpp
File test_case.cpp,
228 bytes
(added by
loonycyborg
,
6 years ago
)
Line
1
#include
<functional>
2
#include
<boost/bind.hpp>
3
4
namespace
std
{
5
template
<
int
N
>
6
struct
is_placeholder
<
boost
::
arg
<
N
>>
:
public
integral_constant
<
int
,
N
>
{};
7
}
8
9
int
foo
(
int
i
)
10
{
11
return
i
;
12
}
13
14
int
main
()
15
{
16
std
::
bind
(
foo
,
_1
);
17
}
Download in other formats:
Original Format