Partager via


SYNC_DEFAULT (<allocators>)

Yields a synchronization filter.

#define SYNC_DEFAULT <sync_template>

Remarks

If a compiler supports compiling both single-threaded and multi-threaded applications, for single-threaded applications the macro yields stdext::allocators::sync_none; in all other cases it yields stdext::allocators::sync_shared.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

<allocators>

Other Resources

<allocators> Members