monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: comments on .sqlite3.binary branch


From: Christof Petig
Subject: Re: [Monotone-devel] Re: comments on .sqlite3.binary branch
Date: Thu, 19 Jan 2006 00:13:51 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)

Steven E. Harris schrieb:
> Nathaniel Smith <address@hidden> writes:
> 
> 
>>Does inheriting from std::string to add a public bool attribute seem
>>a little odd to anyone else?
> 
> 
> Definitely odd, especially if it's publicly inherited. What concept
> maps to "it's a string, and a little something extra"? Better would be
> to use a structure to combine the string with any extra associated
> data.

Actually it's this:

it's a string and carries the additional information on whether to bind
it as a blob or as (utf8) text.

I don't really care whether it remains inherited or contained, I just
chose the path of minimal changes.

  Christof

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]