Skip to content

Commit

Permalink
Update has_member_func.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ozcanay authored Nov 30, 2022
1 parent a3f793c commit 276ca1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion has_member_func.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
// related links:
// https://stackoverflow.com/questions/257288/templated-check-for-the-existence-of-a-class-member-function
// https://stackoverflow.com/questions/87372/check-if-a-class-has-a-member-function-of-a-given-signature?rq=1 --> THIS IS IMPORTANT. READ ALL OF THE EXAMPLES.
// https://stackoverflow.com/questions/1966362/sfinae-to-check-for-inherited-member-functions

#include <iostream>
#include <type_traits>
Expand Down Expand Up @@ -193,4 +194,4 @@ int main()
// }


}
}

0 comments on commit 276ca1c

Please sign in to comment.