Add TEST_STACK_ALLOCATOR_WORKAROUND. As I reported to Eric and Marshall:
"stack_allocator<T, N> is seriously nonconformant to N4582 17.6.3.5 [allocator.requirements].
First, it lacks a rebinding constructor. (The nested "struct rebind" isn't sufficient.)
Second, it lacks templated equality/inequality.
Third, it completely ignores alignment.
Finally, and most severely, the Standard forbids its existence. Allocators are forbidden from returning memory "inside themselves". This requirement is implied by the Standard's requirements for rebinding and equality. It's permitted to return memory from a separate buffer object on the stack, though."
I would like to be able to run libcxx's tests without any local patches (I can inject macros etc. via a force-included header in a separate directory). I'm down to one local patch dealing with stack_allocator. Adding this workaround macro will allow me to consume libcxx's tests unchanged.