Issue 16562: Typos in Value.hpp, Exception.hpp (dds-psm-cxx-ftf) Source: Real-Time Innovations (Dr. Sumant Tambe, sumant(at)rti.com) Nature: Revision Severity: Minor Summary: - hpp\dds\core\Value.hpp around line 67 added & to the return value: const D* operator->() const { return &d_; } 2- same file, line 58, 62 added "const" to != and == operators bool operator==(const Value& other) const { return (d_ == other.d_); } bool operator !=(const Value& other) const { return !(d_ == other.d_); } 3- hpp\tdds\core\qos\EntityQos.hpp line 88 added "const" to declaration const EntityQos& operator >> (POLICY& p) const { 4- dds\core\policy\CorePolicy.hpp, line 38. name() method is not public. class policy_name<POLICY> { \ public: \ static const std::string& name(); \ }; 5- hpp\dds\core\Exception.hpp, line 202 wrong parameter type in the ctor InvalidDataError(const InvalidDataError& src); Proposed solution: Add the missing things. Resolution: Revised Text: Actions taken: September 21, 2011: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 21 Sep 2011 16:01:44 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Sumant Tambe Employer: Real-Time Innovations mailFrom: sumant@rti.com Terms_Agreement: I agree Specification: DDS CXX PSM Section: 7 FormalNumber: ptc/2011-01-02 Version: FTF Beta 1 Doc_Year: 2011 Doc_Month: January Doc_Day: 01 Page: 4 Title: Typos in Value.hpp, Exception.hpp Nature: Revision Severity: Minor CODE: 3TMw8 B1: Report Issue Description: 1- hpp\dds\core\Value.hpp around line 67 added & to the return value: const D* operator->() const { return &d_; } 2- same file, line 58, 62 added "const" to != and == operators bool operator==(const Value& other) const { return (d_ == other.d_); } bool operator !=(const Value& other) const { return !(d_ == other.d_); } 3- hpp\tdds\core\qos\EntityQos.hpp line 88 added "const" to declaration const EntityQos& operator >> (POLICY& p) const { 4- dds\core\policy\CorePolicy.hpp, line 38. name() method is not public. class policy_name { \ public: \ static const std::string& name(); \ }; 5- hpp\dds\core\Exception.hpp, line 202 wrong parameter type in the ctor InvalidDataError(const InvalidDataError& src); Proposed solution: Add the missing things.