|
by: yccheok |
last post by:
I have an immutable object, where I do not provide implementation on
=operator. However, I am facing a problem when trying to use it with
stl map. stl map requires the object to have =operator...
|
by: Jan |
last post by:
Hi there,
i've got an STL map with something like this ( map<string, Object*>
xyz; )
What happens when I call xyz.clear()?
Is only the map cleared or the map and the Objects, so that the memory...
|
by: vin b |
last post by:
Hi,
How would I invoke a method on a reference to an STL object (STL map in
this
case)
In this contrived example, I want to invoke the insert() method on
localmap?
Thanks, Vin
|
by: Allerdyce.John |
last post by:
I have a a stl map which use stl pair as the key
class A;
type map< pair<int, int>, A> MyMap;
if I have function which add entry to the map:
void func(int x, int y, MyMap& map, A& a) {...
|
by: graham.macpherson |
last post by:
I have 2 Suse Linux PCs which I compile my code on. Until recently
they both had gcc 4.0.X on them, but I upgraded one of them to gcc
4.1.0. I have come across a very strange problem in the...
|
|
by: olanglois |
last post by:
Hi,
I was asking myself to following question. What is better to erase an
element from a STL map:
calling (option #1)
size_type erase(const key_type& k)
or calling (option #2)
|
by: Christian Christmann |
last post by:
Hi,
I've profiled one of my C++ projects and figured out that the
program spends a lot of time with STL map's function "find".
One of my classes possesses an STL map of the structure
map<...
|
by: rockkyy |
last post by:
Hi all,
ok here it goes..
I am going to implement a STL MAP.. say 'mapToken'..this is a GLOBAL map.
This mapToken has many nodes with its keys ranging from t1,t2,t3 ....t100 .
Now in...
|
by: Alexander Kotelnikov |
last post by:
Hello.
I faced the same problem which arose before
Message-ID: <1124162913.832263.262410@g14g2000cwa.googlegroups.com>...
|
by: Rakesh Kumar |
last post by:
I am encountering the following issue with STL map iterator - wrapped
within a template. ( I am wrapping it withing a template since I want
to hide the map implementation from the user . At a later...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|