fork download
  1. #include <iostream>
  2. #include <array>
  3. #include <vector>
  4. #include <string>
  5. using namespace std;
  6.  
  7. template<typename T, size_t N>
  8. void Foo(const array<T, N> &tab = array<T, N>()){}
  9.  
  10. template<typename T>
  11. void Bar(const vector<T> &tab = vector<T>()){}
  12.  
  13. template<typename T>
  14. void FooBar(T *tab = NULL){}
  15.  
  16. void Fizz(const string &s = string()){}
  17.  
  18. template<template<typename> class Container, typename... Params>
  19. void Buzz(const Container<Params...> &container = Container<Params...>()){}
  20.  
  21. int main() {
  22. // your code goes here
  23. return 0;
  24. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty