Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1713 closed Bugs (fixed)

no definitions for copy ctor and assignment operator for basic_condition_variable

Reported by: dthomas@… Owned by: Anthony Williams
Milestone: Boost 1.36.0 Component: threads
Version: Boost Development Trunk Severity: Problem
Keywords: thread basic_condition_variable ctor assignment Cc:

Description

In a MSVC 9.0 project of ours, linker errors regarding missing definitions for boost::detail::basic_condition_variable::basic_condition_variable(const basic_condition_variable& other) and boost::detail::basic_condition_variable::operator=(const basic_condition_variable& other).

Either there needs to be definitions for these member functions or there declarations need to be in a private scope of the class. Not having checked the documentation (if any) for proper usage, I tried with putting them in a private scope, resulting in a successful build.

The specific file is boost/thread/win32/basic_condition_variable.hpp. I have not checked the other basic_condition_variable.hpp files.

Change History (2)

comment:1 by Anthony Williams, 15 years ago

Resolution: fixed
Status: newclosed

comment:2 by dthomas@…, 15 years ago

If the milestone is correctly stated above, then this comment is irrelevant; but as of 1.35.0 release, this has not been fixed.

Note: See TracTickets for help on using tickets.