|
Boost Users : |
Subject: Re: [Boost-users] Compare boost::system::error_category
From: Bjorn Reese (breese_at_[hidden])
Date: 2017-03-26 11:56:13
On 03/26/2017 12:05 AM, Christopher Pisz via Boost-users wrote:
> What would be so wrong with category being an actual number to compare
> against?
The challenge is to select a number for a category that is globally
unique across translation units.
The error equality operators use the address of a singleton as this
unique number.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net