|
Boost-Commit : |
From: markus.schoepflin_at_[hidden]
Date: 2007-10-24 07:41:21
Author: schoepflin
Date: 2007-10-24 07:41:21 EDT (Wed, 24 Oct 2007)
New Revision: 40411
URL: http://svn.boost.org/trac/boost/changeset/40411
Log:
Use external linkage for function templates, otherwise they are not considered
as candidate functions during name loopkup.
Text files modified:
trunk/libs/interprocess/test/named_creation_template.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/interprocess/test/named_creation_template.hpp
==============================================================================
--- trunk/libs/interprocess/test/named_creation_template.hpp (original)
+++ trunk/libs/interprocess/test/named_creation_template.hpp 2007-10-24 07:41:21 EDT (Wed, 24 Oct 2007)
@@ -20,7 +20,7 @@
namespace boost { namespace interprocess { namespace test {
template <class NamedResource>
-static inline void create_then_open_then_open_or_create()
+inline void create_then_open_then_open_or_create()
{
try{
//Create it and open it twice
@@ -35,7 +35,7 @@
}
template <class NamedResource>
-static inline void open_or_create_then_create()
+inline void open_or_create_then_create()
{
//Create it with open_or_create and try to create it twice
NamedResource nresource1(open_or_create);
@@ -48,7 +48,7 @@
}
template <class NamedResource>
-static inline void dont_create_and_open()
+inline void dont_create_and_open()
{
//Try to open it without creating
try{
@@ -63,7 +63,7 @@
}
template <class NamedResource>
-static inline void test_named_creation()
+void test_named_creation()
{
std::cout << "create_then_open_then_open_or_create<"
<< typeid(NamedResource).name() << ">" << std::endl;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk