Skip to content

De C++ et alias OOPscenitates

oopscene's blog

Primary Menu

  • Home
  • C++ posts

Tag SFINAE

C++: SFINAE

2012043020130809oopscene 7 Comments

Say you have this piece of code:

template <typename T>
void show(typename T::iterator x, typename T::iterator y)
{
	for (; x != y; ++x) cout << *x << endl;
}

int main()
{
	show<int>(16, 18);
}

Continue reading “C++: SFINAE” →

Tags

any async attribute auto bind boost C C++ C++17 c++20 coding concepts Cpp Cpp11 cpp14 cpp17 cpp20 CppVsRust Dandelions decltype Deleaker deprecated edm electronica enable_if fmt format function functional future HelloWorld initializer_list Java lambda mamá map MemoryLeaks move Music music-album mutex new-age-music newagemusic nodiscard nullptr OOP optional Personal Petrichor pfr Piano Preludes Preprocessor programming reference_wrapper release Rust SFINAE shared_ptr Single smart pointers Standard Library std STL string_view Templates threads trance tuple type_traits unique_ptr unordered_map Variant Videos weak_ptr

Categories

  • Music (10)
  • Personal (12)
  • Programming (50)

My projects

  • My twitter page
  • SoundCloud

Software

  • Compiler Explorer
  • OSnews
  • UTF-8 Everywhere

Recent Posts

  • C++: Strategy Pattern vs. Policy Based Design
  • C++: std::monostate
  • C++: [[maybe_unused]
  • RAII
  • New single: “After the winter”
  • C++ vs. Rust: Factorial
  • C++17: Structured bindings
  • C++ vs. Rust: Hello World
  • New single: “To the core (microkernel mix)”
  • C++: boost::pfr
  • C++17: std::string_view
  • New EP: “Dandelions”
  • C++14: [[deprecated]]
  • C++17: [[nodiscard]] attribute
  • “Petrichor” has been released
  • C++20: Useful concepts: Requiring type T to be derived from a base class
  • C++20: {fmt} and std::format
  • “Prelude Lambda” released
  • C++17: std::optional
  • C++17: std::any

Music

  • FL Studio
  • Modartt Pianoteq
  • Native instruments
  • Renoise

My projects

  • My twitter page
  • SoundCloud

Software

  • Compiler Explorer
  • OSnews
  • UTF-8 Everywhere

Recent Posts

  • C++: Strategy Pattern vs. Policy Based Design 20241017
  • C++: std::monostate 20240924
  • C++: [[maybe_unused] 20240610
  • RAII 20240410
  • New single: “After the winter” 20240216
  • C++ vs. Rust: Factorial 20230222
  • C++17: Structured bindings 20230221
  • C++ vs. Rust: Hello World 20230219
  • New single: “To the core (microkernel mix)” 20230210
  • C++: boost::pfr 20221115
  • C++17: std::string_view 20220912
  • New EP: “Dandelions” 20220708
  • C++14: [[deprecated]] 20220120
  • C++17: [[nodiscard]] attribute 20220116
  • “Petrichor” has been released 20211020
  • C++20: Useful concepts: Requiring type T to be derived from a base class 20210713
  • C++20: {fmt} and std::format 20210531
  • “Prelude Lambda” released 20210304
  • C++17: std::optional 20201127
  • C++17: std::any 20201030

Categories

  • Music (10)
  • Personal (12)
  • Programming (50)

Tags

any async attribute auto bind boost C C++ C++17 c++20 coding concepts Cpp Cpp11 cpp14 cpp17 cpp20 CppVsRust Dandelions decltype Deleaker deprecated edm electronica enable_if fmt format function functional future HelloWorld initializer_list Java lambda mamá map MemoryLeaks move Music music-album mutex new-age-music newagemusic nodiscard nullptr OOP optional Personal Petrichor pfr Piano Preludes Preprocessor programming reference_wrapper release Rust SFINAE shared_ptr Single smart pointers Standard Library std STL string_view Templates threads trance tuple type_traits unique_ptr unordered_map Variant Videos weak_ptr
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • De C++ et alias OOPscenitates
    • Join 53 other subscribers
    • Already have a WordPress.com account? Log in now.
    • De C++ et alias OOPscenitates
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar