MarkR wrote:How about kicking the whole PropertyHelper and implement something like boost::lexical_cast instead?
That's what this is basically... Only faster because lexical_cast uses std::stringstream whilst this will remain C sscanf based
![Smile :)](./images/smilies/icon_smile.gif)
Moderators: CEGUI MVP, CEGUI Team
MarkR wrote:How about kicking the whole PropertyHelper and implement something like boost::lexical_cast instead?
Kulik wrote:You're proposing something like TargetType PropertyHelper::convert<TargetType>(const SourceType& source)?
CrazyEddie wrote:The "CEGUI" vs "cegui" namespace thing IMO is not a 'consistency' issue; rather it's something that some people don't like. Genuine consistency fixes are one thing, making breaking changes for no real reason is another, given this, I seriously doubt that this will be changing
Still not decided on the nested namespaces, I see positives and negatives here
Code: Select all
VerticalLayoutContainer* old = ...
HorizontallLayoutContainer* new = old->morph("HorizontalLayoutContainer");
Jamarr wrote:CrazyEddie wrote:The "CEGUI" vs "cegui" namespace thing IMO is not a 'consistency' issue; rather it's something that some people don't like. Genuine consistency fixes are one thing, making breaking changes for no real reason is another, given this, I seriously doubt that this will be changing
I guess it depends on your scope. In the CEGUI project itself, it is not a consistency issue. However, outside of CEGUI in the c++ library community, it could be considered inconsistent ... I think that more libraries are adopting the lower-case convention for reasons already mentioned.
Return to “CEGUI Library Development Discussion”
Users browsing this forum: No registered users and 5 guests