木头云 d65eafe86a fix(uninitialized): Fix MSVC compilation error with std::map node construction
The issue occurs when container_allocator calls ipc::construct<T>() with no arguments.
MSVC and GCC have different behaviors regarding std::is_constructible for std::map's
internal node type.

Solution:
- Add explicit overload for zero-argument construct() using value initialization T()
- Separate overloads for one or more arguments to avoid SFINAE ambiguity
- This ensures MSVC uses direct initialization T() instead of aggregate initialization T{}

Fixes compilation error on Visual Studio 2017:
error C2512: no appropriate default constructor available
note: Invalid aggregate initialization
2025-12-01 07:31:15 +00:00
..
concur Add intrusive_stack 2025-03-09 18:02:51 +08:00
imp fix(uninitialized): Fix MSVC compilation error with std::map node construction 2025-12-01 07:31:15 +00:00
mem Refactoring the generic memory allocator 2025-03-09 18:02:51 +08:00
buffer.h IPC_EXPORT => LIBIPC_EXPORT 2025-03-09 18:02:51 +08:00
condition.h IPC_EXPORT => LIBIPC_EXPORT 2025-03-09 18:02:51 +08:00
def.h Start refactoring memory management, adding memory_resource 2025-03-09 18:02:51 +08:00
ipc.h IPC_EXPORT => LIBIPC_EXPORT 2025-03-09 18:02:51 +08:00
mutex.h IPC_EXPORT => LIBIPC_EXPORT 2025-03-09 18:02:51 +08:00
rw_lock.h reduce the number of recheck times for the sleep function 2021-09-20 23:29:30 +08:00
semaphore.h IPC_EXPORT => LIBIPC_EXPORT 2025-03-09 18:02:51 +08:00
shm.h IPC_EXPORT => LIBIPC_EXPORT 2025-03-09 18:02:51 +08:00