Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 467 Bytes

File metadata and controls

34 lines (27 loc) · 467 Bytes

C++ Templates (2nd Edition)

Study environment

OS: Ubuntu 18.04.2 LTS
Compiler: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
Meta-build tool: cmake version 3.4.3
build tool: GNU Make 3.81

Build all examples

mkdir build
cd build
cmake ..

Run all examples

ctest --verbose

Example framework

#include <iostream>

// template

int main(int argc, char *argv[]) {
  // code to instantiate template
  return 0;
}