Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Error in "NTL - moveable" documentation?
Re: Error in "NTL - moveable" documentation? [message #4295 is a reply to message #4250] Mon, 31 July 2006 21:19 Go to previous messageGo to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
luzr wrote on Sun, 30 July 2006 11:11

Thanks!

Fixed: capacity = max(1, 2 * capacity);

Mirek


You're welcome!

May I suggest to check that "Expand" in the second - improved - "SimpleVector" class is also corrected?

There is another error - just a simple typo - in the "Moveable"-documentation:

The last member function of the class "SimpleString" is obviously the destructor, but the tilde (~) in front of "SimpleString" is missing.

By the way, the "Moveable" documentation leads to the following question:

As a "NTL_MOVEABLE"-macro example you provide:

NTL_MOVEABLE(std::string);


This provokes to use STL's "string" instead of UPP's "String". What is there against it? (After all its the standard!) Rolling Eyes

Werner
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: More String Functions [FEATURE REQUEST]
Next Topic: running programs from upp program
Goto Forum:
  


Current Time: Sat May 11 12:30:41 CEST 2024

Total time taken to generate the page: 0.01846 seconds