provide constexpr constructor for Sampler

Constexpr constructor lets us use Sampler in TLS variable in cleaner
way.
2 files changed