by: Aaron Anodide |
last post by:
Hello,
I am using the following template class as a shorthand for zero-ing memory:
template<class T>
class ZeroMem : public T
{
public:
ZeroMem(void)
|
by: DarkSpy |
last post by:
many c++ compilers including "gcc" have not implemented the "export"
keyword, but the comeau compilers made it (just i knew).
i want to know about: is it too difficult to implement "export"...
|
by: Anonymous |
last post by:
I'm trying to port code from VC.net to VC.net 2003. Here's a typical
piece of code that's often used:
template<class T> class PseudoContainer {
typedef T::iterator iterator; // this line will...
|
by: sks |
last post by:
Hello all
Is the usage of extern keyword valid for telling the compiler to NOT
instantiate a template and to link it from an another binary?
For example:
Suppose module A's binary contains a...
|
by: Dilip |
last post by:
Folks
I understand that the keyword typename is also used to indicate that a
dependant parameter is a type. However I am a little unsure why I need
typename in this following example:
...
|
by: Veeru |
last post by:
i have one structure SPageDetails.
i have a template class CStack.
Now i have a pointer of this stack class in another class
"CAnotherClass" as:
class CAnotherClass
{...
|
by: adrian.hawryluk |
last post by:
Hi everyone,
I've been using templates for a while, but I'm not at full power yet
(knowledge=power) ;). Does anyone know where I can get information on
this 'new' template usage?
template<a...
|
by: nospam_news |
last post by:
I currently get asked about my usage of "auto". What is it for?
The keyword is clearly superflous here.
In contrast to the huge majority of C/C++ developers I write
definitions very explicitly...
|
by: muktipada |
last post by:
Hello,
As a C++ developer which one we should use for pointer assignment,
NULL or 0.
typedef DummyC DummyClass*; // in some header file.
DummyC obj = NULL;
if (obj == NULL) {
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|