[cfe-dev] RegionRawOffset derived from std::pair?

Ted Kremenek kremenek at apple.com
Tue Jan 26 08:56:38 PST 2010


Some code may rely on operator< being defined for that class, but I don't think so.  If you can replace the inheritance with two private members then please feel free to make that change.

On Jan 26, 2010, at 7:57 AM, Ken Dyck wrote:

> Is there any strong motivation for RegionRawOffset being derived from
> std::pair? There doesn't appear to be any code that relies on this
> inheritance or the 'first' and 'second' members that it exposes. 
> 
> Would there be any objections to replacing the inheritance with two
> private members?
> 
> -Ken
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list