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 » Core split
Core split [message #10900] Fri, 03 August 2007 17:32 Go to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

It would be nice to have all tempalte container classes separated in different headers.

Concrete implementation of Core makes a bit difficult using NTL with other toolkits.
And it is completly not required to use all things from Core if I just want to use NTL Vector and Array.
For now that is imposible becouse Vcont.h even dont have #pragma once.
Core would be much better with STL,Bost, Agg idea of separating algorithms into separate and independant code.

This is just Idea after Gdiplus , Core type colissions ...
I connt use

use namespace Gdiplus;
use namespace Upp;

I have to type by hand all things from one of library ie.

using namespace Upp;
using Gdiplus::Pen;
typedef Gdiplus::Color Color_;
very long list follows.....

It is just Idea .. (not complaining)
Re: Core split [message #10901 is a reply to message #10900] Fri, 03 August 2007 18:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Years ago, I have separated NTL from U++ as standalone library. Interest was close to zero.

Also, there is fragile problem with U++ maps - they require moveable keys. With U++, it is simple. In fact, most existing std::string as well as CString implementations are moveable too, but you cannot take it granted...
Re: Core split [message #10905 is a reply to message #10901] Fri, 03 August 2007 23:02 Go to previous messageGo to next message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

First thing i do was to disable MoveableAssert ...

Decalring NTL_MOVEABLE(type) in header causes error ...
Re: Core split [message #10911 is a reply to message #10905] Sat, 04 August 2007 09:49 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
arturbac wrote on Fri, 03 August 2007 17:02

First thing i do was to disable MoveableAssert ...

Decalring NTL_MOVEABLE(type) in header causes error ...


Well, that is OK as long as types are really moveable.. Smile
Previous Topic: Explanations of some functions
Next Topic: util.cpp xp64
Goto Forum:
  


Current Time: Fri Apr 19 22:56:59 CEST 2024

Total time taken to generate the page: 0.04300 seconds