simple formatting changes

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2010-06-26 22:48:49 +00:00
commit c3b48505e2
26 changed files with 134 additions and 134 deletions

View file

@ -1,4 +1,4 @@
/* This testcase checks whether Swig correctly uses the new result_of class
/* This testcase checks whether SWIG correctly uses the new result_of class
and its templating capabilities introduced in C++0x. */
%module cpp0x_result_of
@ -7,12 +7,12 @@
#include <iostream>
double square(double x) {
return (x * x);
return (x * x);
}
template<class Fun, class Arg>
typename std::result_of<Fun(Arg)>::type test_result_impl(Fun fun, Arg arg) {
return fun(arg);
return fun(arg);
}
%}