Opened 21 years ago
Closed 19 years ago
#947 closed Bugs (Out of Date)
problem with shared_ptr on CC v5.1
Reported by: | wajr | Owned by: | Peter Dimov |
---|---|---|---|
Milestone: | Component: | None | |
Version: | None | Severity: | |
Keywords: | Cc: |
Description
Unable to compile smart_ptr_test.cpp using Sun Workshop 6 2000/04/07 C++ 5.1 due to the following error: "[snip...]/boost/smart_ptr.hpp", line 150: Error: "explicit" is not allowed here. It seems that the explicit keyword may not appear on a templatized ctor for this compiler build. When the explicit keyword on line 150 is removed, the smart_ptr tests compile (and work) fine.
Note:
See TracTickets
for help on using tickets.