by: Steven Cummings |
last post by:
Hello,
I've scoured this usenet group and didn't find anything specific to my
problem, so hopefully this won't be a repeated question. I'm all but
certain it's not.
I would like to *declare*...
|
by: Ralf Propach |
last post by:
Hi,
in C# I can write
Type listType = typeof(System.Collections.Generic.List<>);
What is the equivalent in C++?
I get compiler errors for all of the following:
Type listType =...
|
by: Scott Walters |
last post by:
What I want to do is this...
public class c1 <T1, T2> where T1 : new()
{
private T1 at1;
private T2 at2;
public c1()
{
at1 = new T1();
|
by: conchur |
last post by:
Is there an elegant way to have a class utilise an inherited method to
return a Typed Collection of itself?
Example:
class MyList<T> : List<T> where T : MyRoot
{
Add...
Remove...
}
|
by: Samuel R. Neff |
last post by:
Is there any way to declare a static variable within a generic type
definition and have that variable be shared across all constructed
generic types?
For example, how can I modify this code:
...
|
by: muler |
last post by:
Hi,
"
Generic types may not be "overloaded"; that is, the identifier of a
generic type must be uniquely named within a scope in the same way as
ordinary types.
class C {}
class C<V{} ...
|
by: Geky |
last post by:
Do you know how is possible to get the handle from a java app using c
+
+? I can see that is possible to get the handle of a main window of a
java app but I can't get the handle of any button or...
|
by: Jon |
last post by:
Hi,
When I try to compile the following generic class, the compiler gives
me many errors "Cannot conver type '...' to '...'" on the lines
indicated. Besides, the C# compiler gives me errors even...
|
by: SimonDotException |
last post by:
I've written an abstract base type which uses generics to provide XML serialization and deserialization methods for use by its derived types, but I'm seemingly unable to write it in a way which...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|