|
From: | Steven E. Harris |
Subject: | [Monotone-devel] Re: comments on .sqlite3.binary branch |
Date: | Wed, 18 Jan 2006 09:22:24 -0800 |
User-agent: | Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.13 (cygwin32) |
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. -- Steven E. Harris
[Prev in Thread] | Current Thread | [Next in Thread] |