Opened 15 years ago

Closed 14 years ago

#1691 closed Bugs (fixed)

[Random] Brokem MSVC workaround

Reported by: Richard Webb <richard.webb@…> Owned by: No-Maintainer
Milestone: To Be Determined Component: random
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

The problem in unform_int described in ticket #1423 also exists in the uniform_smallint class, and can be fixed in the same manner (disabling the workaround for VC9). This isn't found by the regression tests as the uniform_smallint tests are commented out in random_test.cpp.

However:
1) The workaround in question referes to an '_impl' class member, which no longer exists.
2) The workaround is inside a "!defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)" block. BOOST_NO_MEMBER_TEMPLATE_FRIENDS is defined for all MSVC versions prior to 9, so it's never used anyway.

Basically, the workaround seems to serve no purpose.

Change History (1)

comment:1 by Steven Watanabe, 14 years ago

Resolution: fixed
Status: newclosed

(In [51413]) Enable stream operators on msvc. Fixes #1068. Fixes #1691

Note: See TracTickets for help on using tickets.