Skip to content

Conversation

@amerry
Copy link
Contributor

@amerry amerry commented Sep 10, 2025

Add missing allocator-aware array and object constructors

The make_array(array, allocator_type) overload generated a compile error
when it was instantiated because there was no corresponding basic_json
constructor. This adds that missing constructor. A matching object
constructor is also added for completeness.

The array parameter was named "alloc", renamed to "a" to match the other
make_array() overloads.
The make_array(array, allocator_type) overload generated a compile error
when it was instantiated because there was no corresponding basic_json
constructor. This adds that missing constructor. A matching object
constructor is also added for completeness.
@danielaparker danielaparker merged commit 459a360 into danielaparker:master Sep 15, 2025
35 checks passed
@danielaparker
Copy link
Owner

Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants