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 » Using standard C++ in U++ application
Using standard C++ in U++ application [message #44401] Fri, 06 March 2015 03:06 Go to next message
eldiener is currently offline  eldiener
Messages: 18
Registered: March 2015
Promising Member
Is there anything in U++ which will keep me from using standard C++ algorithms, containers, iterators and advanced libraries ( Boost as an example ) in an application where I am using U++ in order to create a cross-platform application using C++.

I realize that many U++ constructs use their own core libraries but I am talking outside of using those constructs with U++.
Re: Using standard C++ in U++ application [message #44403 is a reply to message #44401] Fri, 06 March 2015 06:44 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
No problem at all.

Usually you can mix it too, while U++ containers have different element requirements (either more constrained in Vector or totally relaxed in Array), there is huge intersection where std:: algorithms work on U++ containers, std:: containers work with U++ concrete types and U++ algorithms work on std:: containers.
Re: Using standard C++ in U++ application [message #44404 is a reply to message #44403] Fri, 06 March 2015 07:09 Go to previous messageGo to next message
eldiener is currently offline  eldiener
Messages: 18
Registered: March 2015
Promising Member
mirek wrote on Fri, 06 March 2015 00:44
No problem at all.

Usually you can mix it too, while U++ containers have different element requirements (either more constrained in Vector or totally relaxed in Array), there is huge intersection where std:: algorithms work on U++ containers, std:: containers work with U++ concrete types and U++ algorithms work on std:: containers.


Thanks ! I will definitely take a look at U++ for cross-platform C++ programming.
Re: Using standard C++ in U++ application [message #44405 is a reply to message #44404] Fri, 06 March 2015 08:48 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
eldiener wrote on Fri, 06 March 2015 07:09
mirek wrote on Fri, 06 March 2015 00:44
No problem at all.

Usually you can mix it too, while U++ containers have different element requirements (either more constrained in Vector or totally relaxed in Array), there is huge intersection where std:: algorithms work on U++ containers, std:: containers work with U++ concrete types and U++ algorithms work on std:: containers.


Thanks ! I will definitely take a look at U++ for cross-platform C++ programming.


PS.: The only thing prohibited is using std:: concretes in U++ Vector-flavor containers. E.g. Vector<std::string> is invalid, because std::string is not guaranteed to satisfy "moveability" constraint. This might cause some smaller issues, as you need to convert str::string to Upp::String before putting e.g. into U++ widgets.

OTOH, Upp::String has implicit conversion to/from std::string...
Previous Topic: LocalProcess trivia bug in Write() function causing incorrect error strings
Next Topic: Which source repository to use
Goto Forum:
  


Current Time: Thu Mar 28 19:30:05 CET 2024

Total time taken to generate the page: 0.01647 seconds