adds const correctness

[SVN r38200]
This commit is contained in:
Tobias Schwinger
2007-07-13 15:11:20 +00:00
parent 8ff2dca34a
commit 897a312766
4 changed files with 13 additions and 42 deletions

View File

@ -30,8 +30,8 @@ struct test_func
};
template<typename B, typename T0, typename T1>
struct result<test_func<B>(T0, T1)>
template<class Self, typename T0, typename T1>
struct result< Self(T0, T1) >
{
typedef int type;
};