StackOverflow Questions for Tag: overloading

Calebe
Calebe

Reputation: 817

Function overloading in Dart

Score: 68

Views: 35470

Answers: 4

Read More
Adam Rutledge
Adam Rutledge

Reputation: 87

Optimizations removing template variable whose type determines which overloaded function gets called, resulting in multiple calls

Score: -1

Views: 45

Answers: 0

Read More
inquam
inquam

Reputation: 12942

Default values on arguments in C functions and function overloading in C

Score: 34

Views: 113243

Answers: 10

Read More
Abdulkerim Awad
Abdulkerim Awad

Reputation: 141

Typescript function overload with generics doesn't work as expected

Score: 0

Views: 57

Answers: 1

Read More
alfC
alfC

Reputation: 16300

Wouldn't it make sense to overload with respect to noexcept?

Score: 10

Views: 1844

Answers: 3

Read More
Joe Enos
Joe Enos

Reputation: 40413

Why overload true and false instead of defining bool operator?

Score: 20

Views: 7330

Answers: 4

Read More
Francis Bautista
Francis Bautista

Reputation: 1

overloading method user input

Score: 0

Views: 10374

Answers: 3

Read More
codymanix
codymanix

Reputation: 29520

Simple string.Split failing with StringSplitOptions.TrimEntries

Score: 2

Views: 89

Answers: 2

Read More
fearofawhackplanet
fearofawhackplanet

Reputation: 53446

Extension method resolution with nullable value type params

Score: 3

Views: 605

Answers: 5

Read More
Nikhil Gupta
Nikhil Gupta

Reputation: 112

Simultaneous use of overloading of parameter and overloading of return type

Score: 0

Views: 172

Answers: 2

Read More
patraulea
patraulea

Reputation: 916

How to call std::max() with a size_t expression and a size_t literal constant?

Score: 2

Views: 112

Answers: 2

Read More
Mircode
Mircode

Reputation: 746

Inheriting from NamedTuple causes "Overloaded function signatures 1 and 2 overlap with incompatible return types" in mypy

Score: 1

Views: 102

Answers: 0

Read More
Andrey Bienkowski
Andrey Bienkowski

Reputation: 1715

How to overload a function for fixed-size integers and implementation-defined size integers without templates?

Score: -2

Views: 83

Answers: 1

Read More
Braaedy
Braaedy

Reputation: 562

Is there a way to disambiguate overloads wrapping std::format and std::vformat

Score: 1

Views: 63

Answers: 1

Read More
Josh Shields
Josh Shields

Reputation: 113

Why do std::vector<T> v{1, 2, 3} and std::vector<T> v = {1, 2, 3} call different constructors, when T implicitly converts from int?

Score: 9

Views: 520

Answers: 1

Read More
tom
tom

Reputation: 2295

Why can't I overload constructors in PHP?

Score: 123

Views: 82446

Answers: 17

Read More
akasection
akasection

Reputation: 163

Typescript pick only specific method from overload (to be passed to Parameters<T>)

Score: 16

Views: 3874

Answers: 1

Read More
Joel
Joel

Reputation: 23887

How to get a python function to work on an np.array or a float, with conditional logic

Score: 2

Views: 56

Answers: 2

Read More
Ella
Ella

Reputation: 35

built-in operator '<<' cannot be applied to an operand of type 'std::ostream'

Score: 0

Views: 113

Answers: 1

Read More
John Humphreys
John Humphreys

Reputation: 39324

Should you prefer overloading over specialization of function templates?

Score: 77

Views: 26869

Answers: 4

Read More
PreviousPage 1Next