There was an error while loading. Please reload this page.
1 parent 7368d66 commit 9b420edCopy full SHA for 9b420ed
UniversalProxyDLL.h
@@ -1,5 +1,7 @@
1
#pragma once
2
3
+// https://github.com/techiew/UniversalProxyDLL
4
+
5
#include <Windows.h>
6
#include <iostream>
7
#include <vector>
@@ -597,12 +599,13 @@ namespace UPD
597
599
598
600
// Magic to fold variadic arguments prior to C++17
601
// https://stackoverflow.com/a/55717030
-// If it doesn't work for you, switch to C++17 and replace the code block with:
602
+// If it doesn't work for you, switch to C++17 or newer and replace the code block with:
603
// (stream << ... << args) << std::endl;
604
// std::cout << stream.str();
605
using do_ = int[];
606
do_{ 0, (stream << args, 0)... };
607
std::cout << stream.str() << std::endl;
608
+//
609
610
if (logFile.is_open())
611
{
0 commit comments