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 » Array & Gdiplus::Pen problem
Array & Gdiplus::Pen problem [message #10841] Wed, 01 August 2007 15:37 Go to previous message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

1>C:\uppdevel\uppsrc\Core/Vcont.h(132) : error C2512: 'Gdiplus::Pen' : no appropriate default constructor available
C:\uppdevel\uppsrc\Core/Vcont.h(132) : while compiling class template member function 'void Upp::Array<T>::Init(void **,void **)'
with
[ T=Gdiplus::Pen]
.\Layers.cpp(39) : see reference to class template instantiation 'Upp::Array<T>' being compiled
with [ T=Gdiplus::Pen ]

Pen dosn't have Pen() constructor so how i can use any container with Pen , Vector , Array ?

Layers.cpp(39)
pens.Reserve(Globals::RoadCategories);

Any suggestions ?

[Updated on: Wed, 01 August 2007 15:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: #ifdef PLATFORM_POSIX #include <bits/atomicity.h> for POSIX ?
Next Topic: Compatibility change
Goto Forum:
  


Current Time: Sun Aug 24 19:48:37 CEST 2025

Total time taken to generate the page: 0.00804 seconds