Skip to content

Latest commit

 

History

History

Helper

Helper

wakatime

// <xstddef>
// originally exstd.h
_EXPORT_STD template <class _Ty = void>
struct plus {
    using _FIRST_ARGUMENT_TYPE_NAME _CXX17_DEPRECATE_ADAPTOR_TYPEDEFS  = _Ty;
    using _SECOND_ARGUMENT_TYPE_NAME _CXX17_DEPRECATE_ADAPTOR_TYPEDEFS = _Ty;
    using _RESULT_TYPE_NAME _CXX17_DEPRECATE_ADAPTOR_TYPEDEFS          = _Ty;

    _NODISCARD constexpr _Ty operator()(const _Ty& _Left, const _Ty& _Right) const {
        return _Left + _Right;
    }
};
// std::integral_constant<T, t>
_STD_BEGIN
_EXPORT_STD template <class _Ty, _Ty _Val>
struct integral_constant {
    static constexpr _Ty value = _Val;

    using value_type = _Ty;
    using type       = integral_constant;

    constexpr operator value_type() const noexcept {
        return value;
    }

    _NODISCARD constexpr value_type operator()() const noexcept {
        return value;
    }
};

gtest_lambda_derivative.lib

To see the content of such library files, consider using dumpbin from MSVC toolchain.

For example:

cd Helper
cmake . -Bbuild
cd Helper\build\Debug
dumpbin /EXPORTS /out:gtest_lambda_derivative.txt gtest_lambda_derivative.lib