Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51223 - in sandbox/tools/profile_templates/test: . test_dir
From: steven_at_[hidden]
Date: 2009-02-12 13:26:07


Author: steven_watanabe
Date: 2009-02-12 13:26:06 EST (Thu, 12 Feb 2009)
New Revision: 51223
URL: http://svn.boost.org/trac/boost/changeset/51223

Log:
Add test of function template
Text files modified:
   sandbox/tools/profile_templates/test/test.cpp | 2 ++
   sandbox/tools/profile_templates/test/test_dir/test.hpp | 4 ++++
   2 files changed, 6 insertions(+), 0 deletions(-)

Modified: sandbox/tools/profile_templates/test/test.cpp
==============================================================================
--- sandbox/tools/profile_templates/test/test.cpp (original)
+++ sandbox/tools/profile_templates/test/test.cpp 2009-02-12 13:26:06 EST (Thu, 12 Feb 2009)
@@ -12,4 +12,6 @@
 int main() {
     X<int> x1;
     X<char> x2;
+ f(1);
+ f('a');
 }

Modified: sandbox/tools/profile_templates/test/test_dir/test.hpp
==============================================================================
--- sandbox/tools/profile_templates/test/test_dir/test.hpp (original)
+++ sandbox/tools/profile_templates/test/test_dir/test.hpp 2009-02-12 13:26:06 EST (Thu, 12 Feb 2009)
@@ -15,3 +15,7 @@
 struct X {};
 
 struct Y {};
+
+template<class T>
+void f(const T&) {
+}


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