Search:
Login
Help/Guide
About Trac
Preferences
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #12352
Ticket #12352
: boost_factory_bug.cpp
File boost_factory_bug.cpp,
230 bytes
(added by
Matthew Hoops <matthewthoops@…>
,
6 years ago
)
Minimal test case program
Line
1
#include
<boost/function.hpp>
2
#include
<boost/functional/factory.hpp>
3
4
class
TestClass
{
5
public
:
6
TestClass
(
int
someParam
)
{}
7
};
8
9
int
main
()
{
10
boost
::
function
<
TestClass
*
(
int
testParam
)
>
factory
=
boost
::
factory
<
TestClass
*>
();
11
}
12
Download in other formats:
Original Format