33 lines
827 B
C
33 lines
827 B
C
|
/**
|
||
|
* @file Cpp11UpCpp17.h
|
||
|
* @brief 这里处理当C++11 升级 C++17 中遇到的问题 #include "Cpp11UpCpp17.h"
|
||
|
* @author 陈增辉 (3045316072@qq.com)
|
||
|
* @version 2.5.0
|
||
|
* @date 24-5-6
|
||
|
* @copyright Copyright (c) Since 2024 中科卫星应用研究院 All rights reserved.
|
||
|
*/
|
||
|
|
||
|
#ifndef LAMPCAE_CPP11UPCPP17_H
|
||
|
#define LAMPCAE_CPP11UPCPP17_H
|
||
|
#include "BaseCppLibraryAPI.h"
|
||
|
|
||
|
namespace stdlamp {
|
||
|
template <class Arg1, class Arg2, class Result>
|
||
|
struct binary_function {
|
||
|
using first_argument_type = Arg1;
|
||
|
using second_argument_type = Arg2;
|
||
|
using result_type = Result;
|
||
|
};
|
||
|
|
||
|
template <typename ArgumentType, typename ResultType>
|
||
|
struct unary_function {
|
||
|
using argument_type = ArgumentType;
|
||
|
using result_type = ResultType;
|
||
|
};
|
||
|
|
||
|
// BASECPPLIBRARYAPI void LAMPnothing(void);
|
||
|
|
||
|
|
||
|
}
|
||
|
#endif // LAMPCAE_CPP11UPCPP17_H
|