generic-programming
Can someone explain what does <? super T> mean and when should it be used and how this construction should cooperate with <T> and <? extends T>?
I\'m using generics rather long time but I\'ve never used construction like List<?开发者_运维问答 super T>.[详细]
2022-12-20 17:48 分类:问答Scala: Implementing a subtype of Numeric[T]
How does one go a开发者_运维技巧bout implementing a subtype of Numeric[T]? I have been looking for at guide on this but haven\'t found any.[详细]
2022-12-20 13:51 分类:问答Holding a generic type's instance - C++
I have a tree_node class and a tree class. template<typename T> class tree_node { public: tree_node(const std::string& key_, const T& value_)[详细]
2022-12-20 13:47 分类:问答Java: Expanding array size, can't seem to keep all values in original locations
For my current homework, I\'m trying to sort my array through a generic class as the user inserts values into its locations. When the size reads as fully loaded, the array class calls in an expansion[详细]
2022-12-17 02:07 分类:问答Java generic class and wildcards
I\'ve got a problem with generic classes in java. I\'ve got this class: public abstract class MyMotherClass<C extends AbstractItem>[详细]
2022-12-14 06:10 分类:问答Ambiguous type variable
Related to my earlier question on traversing data structures, I\'m having a problem making my code generic when I use it along with the uniplate package. I\'m dealing with the data structures in the L[详细]
2022-12-13 22:48 分类:问答Good introduction to generics
Being compelled by the advantages I\'m looking for a way to integrate generic programming into my current programming style. I would like to use generics in C# but can\'t find any good introductory ma[详细]
2022-12-12 09:29 分类:问答DataTemplate.DataType = Collection<Entity>?
Is there a way to create a data template that handles a list of items? I have Contact.Phones (EntityCollection<Phone>) and I want the data template to handle the list - add remove edit etc.[详细]
2022-12-09 22:14 分类:问答templates problem ('typename' as not template function parameter)
Actually I\'ve a problem with compiling some library with intel compiler. This same library has been compiled properly with g++.[详细]
2022-12-09 05:15 分类:问答