Code Monkey home page Code Monkey logo

cpp14-snippets's Introduction

C++14 Snippets

Learn the new C++14 features by examples

Description

Source for the references is the free N3936 working draft (pdf), dated 2nd March 2014

clang++3.4 -std=c++1y -stdlib=libc++ -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic xxx.cc

Note: feel free to help out, search for "TODO"

File Reference Description
literals.cc tbd string literals, binary literals, digit separator
lambda.cc tbd generic lambdas, lambda captures
inference.cc tbd return type inference
iterator.cc tbd cbegin, cend
constexpr.cc tbd relaxed constexpr restrictions, const constexpr
make_unique.cc tbd make_unique
tuple.cc tbd get
attributes.cc tbd deprecated attribute
quoted.cc tbd quoted
exchange.cc tbd exchange
sequence.cc tbd integer_sequence
functors.cc tbd type deduction for greater<> et al.
range.cc tbd range overloads for equal, mismatch, is_permutation
variable_template.cc tbd templated variables
initialization.cc tbd aggregate initialization, brace elision
traits.cc tbd aliases for trait's ::type, e.g. is_same_t

Warning: not a complete list of changes (yet) -- work in progress.

Here's my C++11 edition. But keep in mind: the C++11 edition is from two years ago as I was still learning C++11. And it's not really maintained anymore.

cpp14-snippets's People

Contributors

daniel-j-h avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.