The working draft explicitly states that the default functions must be special member functions (for example, copy-constructor, default-constructor, etc. (§8.4.2.1-1)). It makes sense.
However, I do not see such a restriction for remote functions (§8.4.3). Is it correct?
Or, in other words, are these three examples valid c++0?
struct Foo
{
int bar( int ) = delete;
};
int baz( int ) = delete;
template< typename T >
int boo( T t );
template<>
int boo<int>(int t) = delete;
source
share