Link Details

Link 1197515 thumbnail
User 448255 avatar

By dotCore
via pfultz2.com
Submitted: Aug 18 2014 / 18:10

Templates in C++, by default, are unconstrained. So it gives us a simple form of static duck-typing. As a simple example, lets look at an increment and twice function:
  • 2
  • 0
  • 52
  • 25

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (2)



Downvoters (0)



    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java