mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-01 11:43:41 +00:00
14 lines
518 B
C++
14 lines
518 B
C++
// Copyright 2011-2022, Molecular Matters GmbH <office@molecular-matters.com>
|
|
// See LICENSE.txt for licensing details (2-clause BSD License: https://opensource.org/licenses/BSD-2-Clause)
|
|
|
|
#pragma once
|
|
|
|
#include "PDB_DisableWarningsPush.h"
|
|
#include <type_traits>
|
|
#include "PDB_DisableWarningsPop.h"
|
|
|
|
|
|
// See Jonathan Müller's blog for replacing std::move and std::forward:
|
|
// https://foonathan.net/2021/09/move-forward/
|
|
#define PDB_MOVE(...) static_cast<std::remove_reference_t<decltype(__VA_ARGS__)>&&>(__VA_ARGS__)
|