StackOverflow Questions for Tag: sfinae

Daniel Varga
Daniel Varga

Reputation: 73

Partial template specialization for when all template parameters are the same type

Score: 4

Views: 87

Answers: 2

Read More
Nick
Nick

Reputation: 10539

How correctly to remove code repetition in template function

Score: 1

Views: 153

Answers: 3

Read More
Baruch
Baruch

Reputation: 21538

using sfinae to select function/constructor only if type has member

Score: 0

Views: 37

Answers: 0

Read More
Fabio
Fabio

Reputation: 2287

How to decide if a template specialization exist

Score: 20

Views: 6020

Answers: 2

Read More
Anurag S Sharma
Anurag S Sharma

Reputation: 450

a compile-time way to test whether a template parameter T defines a (static) method of its own, not considering the ones defined by base classes of T

Score: 2

Views: 120

Answers: 1

Read More
J L
J L

Reputation: 655

Access checking is performed as if in a context unrelated to T. Only the validity of the immediate context of the expression is considered

Score: 0

Views: 83

Answers: 0

Read More
bobobobo
bobobobo

Reputation: 67286

check if member exists

Score: 35

Views: 39857

Answers: 8

Read More
Quentin
Quentin

Reputation: 63154

Making `std::get` play nice with SFINAE

Score: 17

Views: 1279

Answers: 4

Read More
J L
J L

Reputation: 655

What is the exact quote from the C++ Standard that states that type deduction failure on template argument deduction is not an error (SFINAE)?

Score: 4

Views: 159

Answers: 1

Read More
tmlen
tmlen

Reputation: 9090

Using SFINAE in constructor, to check if constructor of a member type exists

Score: 0

Views: 81

Answers: 1

Read More
Bruno Perković
Bruno Perković

Reputation: 43

Why auto variant isn't working compared to (equivalent?) template version of function?

Score: 1

Views: 109

Answers: 1

Read More
Daniel
Daniel

Reputation: 93

Problem on SFINAE with `is_constructible` in constructor

Score: 2

Views: 90

Answers: 2

Read More
Harry Check
Harry Check

Reputation: 37

std::void_t vs customize function in SFINAE usage

Score: 1

Views: 148

Answers: 2

Read More
just_code_dog
just_code_dog

Reputation: 1037

Why the default value of T of enable_if is void?

Score: 0

Views: 67

Answers: 0

Read More
Joshua Maiche
Joshua Maiche

Reputation: 438

Why do a SFINAE function template and a regular function template have different binding rules?

Score: 1

Views: 61

Answers: 1

Read More
Alessandro Muntoni
Alessandro Muntoni

Reputation: 836

Template Specialization Function with Eigen arguments

Score: 1

Views: 973

Answers: 3

Read More
alfC
alfC

Reputation: 16300

Deduce type of container from iterator (when possible)

Score: 0

Views: 867

Answers: 4

Read More
Ethanabc
Ethanabc

Reputation: 381

How to use concept to restrict typename to numeric? C++20 features

Score: 9

Views: 4908

Answers: 2

Read More
SteveH
SteveH

Reputation: 263

How to make SFINAE check less verbose?

Score: 0

Views: 80

Answers: 1

Read More
user23311233
user23311233

Reputation: 13

SFINAE-kindish function definition BUT without templates

Score: -10

Views: 101

Answers: 1

Read More
PreviousPage 2Next