#include <vector>
#include <algorithm>
#include <iostream>
#include <bitset>
using namespace std;

void print()
{}

template <typename T, typename... Types>
void print(const T& firstArg, const Types&... args)
{
    cout << firstArg << endl;
    print(args...);
}

int main()
{
    print(7.5, "hello", bitset<16>(377), 42);
    return 0;
}

 

相关文章:

  • 2021-12-08
  • 2021-11-08
  • 2022-01-12
  • 2022-03-01
  • 2022-12-23
  • 2022-01-01
  • 2021-07-31
猜你喜欢
  • 2021-07-03
  • 2022-12-23
  • 2022-02-25
  • 2021-10-20
  • 2022-12-23
  • 2021-06-24
  • 2022-01-02
相关资源
相似解决方案