language: C++11 (gcc-4.7.2)
date: 393 days 9 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
namespace Rose
{
    template<typename T>
    struct RemoveReference
    {
        typedef T Type;
    };
 
    template<typename T>
    struct RemoveReference<T &>
    {
        typedef T Type;
    };
}
 
int main()
{
    Rose::RemoveReference<int &>::Type a = 1;
}