Lars Gullik Bjønnes wrote:
> We (you ) should take a look at Sutters variant as well:
> He calls the creature a ValuePtr.
Absolutely reasonable. I don't have Sutter's books here however (at work). If
you could post the code I'll look at it next week.
> (I'll come back to actuall impl.)
Good. So
Angus Leeming <[EMAIL PROTECTED]> writes:
| Angus Leeming wrote:
>> I need some guidance here... My feeling is to add 'create_ptr' and
>> 'destroy_ptr' template parameters to copied_ptr...
>
| I remembered tha boost::shared_ptr has a Deleter template parameter., so I am
| not talking crap here.
>
Angus Leeming wrote:
> I need some guidance here... My feeling is to add 'create_ptr' and
> 'destroy_ptr' template parameters to copied_ptr...
I remembered tha boost::shared_ptr has a Deleter template parameter., so I am
not talking crap here.
We would need a Creator parameter too. Something lik
Angus Leeming wrote:
> Hmmm
>
> class BufferParams {
> public:
> AuthorList & authors();
> private:
> /** Use the Pimpl idiom to hide those member variables that
> would otherwise drag in other header files.
> */
> class Impl;
> lyx::support::c
Hmmm
class BufferParams {
public:
AuthorList & authors();
private:
/** Use the Pimpl idiom to hide those member variables that would otherwise
drag in other header files.
*/
class Impl;
lyx::support::cow_ptr pimpl_;
};
AuthorList & BufferParams