New OOTS products from CafePress
New OOTS t-shirts, ornaments, mugs, bags, and more
Results 1 to 2 of 2
  1. - Top - End - #1
    Barbarian in the Playground
     
    OldWizardGuy

    Join Date
    Nov 2010
    Location
    California
    Gender
    Male

    Default Practicing C++ Templates

    I want to get better at C++ templates. I can do the basics:

    Code:
    template<typename T>
    T& min(T& t1, T& t2) {
      return t1 < t2 ? t1 : t2;
    }
    but I'm not great at parameter packs and <concepts>.

    Does anyone know a good place to get practice? What I'd really love is something like leetcode, but focused on C++ templates instead of algorithms.

  2. - Top - End - #2
    Ettin in the Playground
     
    OldWizardGuy

    Join Date
    Aug 2010

    Default Re: Practicing C++ Templates

    What's your overall knowledge of c++?
    "Gosh 2D8HP, you are so very correct (and also good looking)"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •