StackOverflow Questions for Tag: generic-programming

Tommaso Clini
Tommaso Clini

Reputation: 45

Trying to make bounded floating point types in rust, problem with From and Into

Score: 4

Views: 90

Answers: 2

Read More
user3413621
user3413621

Reputation: 521

'compile-time' way to get all property names defined interface

Score: 42

Views: 37963

Answers: 5

Read More
vagrant
vagrant

Reputation: 988

Do not understand "Member '<func>' cannot be used on value of type 'any <type>'; consider using a generic constraint instead" error

Score: 16

Views: 9506

Answers: 2

Read More
Damir Tenishev
Damir Tenishev

Reputation: 3402

How can I transparently process std::vector of T and std::vector of std::shared_ptr<T> in a template?

Score: 8

Views: 600

Answers: 5

Read More
Entilore
Entilore

Reputation: 170

Wrap a generic class?

Score: 0

Views: 27

Answers: 0

Read More
oscorped
oscorped

Reputation: 1

RUST DIESEL generic repository

Score: -1

Views: 37

Answers: 0

Read More
excitedGoose
excitedGoose

Reputation: 189

Is there an exception in which it's possible to read a contravariance (in kotlin)?

Score: 0

Views: 50

Answers: 1

Read More
John
John

Reputation: 313

How to denote a generic interface in UML?

Score: 2

Views: 45

Answers: 2

Read More
user1491636
user1491636

Reputation: 2436

Proper use of Spring's ResolvableType to determine generic type

Score: 3

Views: 5172

Answers: 2

Read More
F566
F566

Reputation: 645

How to make a field in a generic struct optional in json unmarshal?

Score: 2

Views: 106

Answers: 2

Read More
excitedGoose
excitedGoose

Reputation: 189

Why this does not break invariance rule?

Score: 2

Views: 35

Answers: 1

Read More
Alexander K.
Alexander K.

Reputation: 121

F# generic function

Score: 0

Views: 44

Answers: 1

Read More
BrunoLM
BrunoLM

Reputation: 100371

How can I check if element is an instanceof U?

Score: 15

Views: 27034

Answers: 4

Read More
Danii672
Danii672

Reputation: 33

Python generic TypeVar bound to generic base class

Score: 0

Views: 39

Answers: 0

Read More
dan
dan

Reputation: 91

arrays of generic class in JAVA

Score: -1

Views: 91

Answers: 2

Read More
Hannes Ryberg
Hannes Ryberg

Reputation: 13

Generic trait not implemented for a closure returned by a function

Score: 1

Views: 39

Answers: 1

Read More
vikky.rk
vikky.rk

Reputation: 4149

Java Generics WildCard: <? extends Number> vs <T extends Number>

Score: 93

Views: 23698

Answers: 5

Read More
Foxy
Foxy

Reputation: 1176

A lambda continuation with a generic type does not produce a stack overflow, but when I specify the type it results in a stack overflow. Why?

Score: 1

Views: 32

Answers: 0

Read More
Tareq Ghassan
Tareq Ghassan

Reputation: 11

Flutter Generics in Navigation: Function Parameters Treated as dynamic at Runtime

Score: 0

Views: 25

Answers: 0

Read More
fanggiz
fanggiz

Reputation: 39

type '(SpecificType) => String' is not a subtype of type '(dynamic) => String'

Score: 1

Views: 45

Answers: 1

Read More
PreviousPage 1Next