Skip to content

synapse-overload/detection_idiom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Detection Idiom

A useful technique to detect features of classes passed in as template arguments. After reading the article by Sy Brand here: https://blog.tartanllama.xyz/detection-idiom/ I created this example. When using C++20 or above I expect concepts to be a better choice than this somewhat unintuitive technique, this serves as a solution for C++17/14 code that needs to check the presence of a given method in a template class.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published