File Index Symbol Index

// xcall_once.h internal header
#pragma once
#ifndef _XCALL_ONCE_H
#define _XCALL_ONCE_H
#ifndef RC_INVOKED
#include <yvals.h>
_STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new
// STRUCT once_flag
struct
once_flag
{
// opaque data structure for call_once()
constexpr
once_flag
()
noexcept
: _Opaque(
nullptr
) {
// default construct
}
once_flag
(
const
once_flag
&) =
delete
;
once_flag
&
operator
=
(
const
once_flag
&) =
delete
;
void
*
_Opaque
; };
typedef
int
(
__stdcall
*
_Execute_once_fp_t
)(
void
*,
void
*,
void
**);
once_flag
&
_Flag
,
_Execute_once_fp_t
_Callback
,
void
*
_Pv
)
noexcept
;
#pragma pop_macro("new")
_STL_RESTORE_CLANG_WARNINGS
/* * Copyright (c) by P.J. Plauger. All rights reserved. * Consult your license regarding permissions and restrictions. V6.50:0009 */