On Nov 9, 10:29*am, dec4106 <dec4...@gmail.com> wrote:
> Earlier today I came across a code example that looked something like
> this:
>
> template <typename T, unsigned S>
> class MyClass
> {
> public:
> * * MyClass() = default;
> * * ...
>
> "default" is not defined anywhere in the example. *I've never seen an
> expression like this before and don't understand how it could work,
> and haven't been able to make it work. *Is this a C++11 thing?
I think this is from one of my posts.
Ironically, considering the rest of this thread, I don't even have a C+
+11 compiler (or a system ready to use one). I'm learning C++11 from
web sites and Usenet posts.
I, nor anyone else, can define "default" in an example since it's a
keyword!
Daryle W.
|