Re: destructor for vector
Default User <first.last@com pany.com> wrote in message news:<3F0C4293. B34DE4AF@compan y.com>...[color=blue]
> Thomas Gulbrandsen wrote:
>[color=green]
> > #include <boost\shared_p tr.hpp>[/color]
>
>
> I've searched the C++ standard, and I fail to find this header. Please
> don't recommend nonstandard, off-topic solutions.[/color]
It may not be in the standard, but that doesn't make it nonstandard.
boost/shared_ptr.hpp is a source file suited for inclusion (16.2/1)
containing standard C++ code (and certainly with a C++ interface).
Discussing and evaluating C++ code, from whatever source, is on
topic here.
Even if you're not allowed to use third-party solutions, boost can
be used to pick up some good ideas.
Regards,
--
Michiel Salters
Default User <first.last@com pany.com> wrote in message news:<3F0C4293. B34DE4AF@compan y.com>...[color=blue]
> Thomas Gulbrandsen wrote:
>[color=green]
> > #include <boost\shared_p tr.hpp>[/color]
>
>
> I've searched the C++ standard, and I fail to find this header. Please
> don't recommend nonstandard, off-topic solutions.[/color]
It may not be in the standard, but that doesn't make it nonstandard.
boost/shared_ptr.hpp is a source file suited for inclusion (16.2/1)
containing standard C++ code (and certainly with a C++ interface).
Discussing and evaluating C++ code, from whatever source, is on
topic here.
Even if you're not allowed to use third-party solutions, boost can
be used to pick up some good ideas.
Regards,
--
Michiel Salters
Comment