Skip to content

Commit 9b420ed

Browse files
committed
Comments
1 parent 7368d66 commit 9b420ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

UniversalProxyDLL.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#pragma once
22

3+
// https://github.com/techiew/UniversalProxyDLL
4+
35
#include <Windows.h>
46
#include <iostream>
57
#include <vector>
@@ -597,12 +599,13 @@ namespace UPD
597599

598600
// Magic to fold variadic arguments prior to C++17
599601
// https://stackoverflow.com/a/55717030
600-
// 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:
601603
// (stream << ... << args) << std::endl;
602604
// std::cout << stream.str();
603605
using do_ = int[];
604606
do_{ 0, (stream << args, 0)... };
605607
std::cout << stream.str() << std::endl;
608+
//
606609

607610
if (logFile.is_open())
608611
{

0 commit comments

Comments
 (0)