Create an Option having the same value as original.
Declared in <balcl_option.h>
Option(
Option const& original,
bslma::Allocator* basicAllocator = 0);
Create a Option object having the same value as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| original | object providing the value to copy |
| basicAllocator | memory allocator; null uses the default |