Boost C++ Libraries: Ticket #10724: UNINIT_CTOR https://svn.boost.org/trac10/ticket/10724 <p> In default constructor for the class "hashed_index_iterator " the private members are not initialized hence it shows a code quality error UNINIT_CTOR() as defined below :- </p> <p> template&lt;typename Node,typename <a class="missing wiki">BucketArray</a>&gt; </p> <blockquote> <p> class hashed_index_iterator: public forward_iterator_helper&lt; hashed_index_iterator&lt;Node,<a class="missing wiki">BucketArray</a>&gt;, typename Node::value_type, std::ptrdiff_t, const typename Node::value_type*, const typename Node::value_type&amp;&gt; { public: </p> </blockquote> <p> </p> <blockquote> <p> uninit_member: Non-static class member "node" is not initialized in this constructor nor in any functions that it calls. </p> </blockquote> <p> <strong> Uninitialized pointer field (UNINIT_CTOR)4. uninit_member: Non-static class member "buckets" is not initialized in this constructor nor in any functions that it calls</strong>. </p> <blockquote> <p> hashed_index_iterator(){} </p> </blockquote> <ul><li>* private: member_decl: Class member declaration for "node". Node* node; </li></ul><p> member_decl: Class member declaration for "buckets". <a class="missing wiki">BucketArray</a>* buckets; </p> <p> <strong>* These Private member has to be initialized in default constructor *</strong> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10724 Trac 1.4.3 Joaquín M López Muñoz Wed, 05 Nov 2014 07:40:54 GMT severity changed https://svn.boost.org/trac10/ticket/10724#comment:1 https://svn.boost.org/trac10/ticket/10724#comment:1 <ul> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Cosmetic</span> </li> </ul> <p> Added annotation at </p> <p> <a class="ext-link" href="https://github.com/boostorg/multi_index/commit/08fe6a360acf99e1732a54ef8b3114455f59116b"><span class="icon">​</span>https://github.com/boostorg/multi_index/commit/08fe6a360acf99e1732a54ef8b3114455f59116b</a> </p> <p> Could you please verify this shuts Coverity down? </p> Ticket Joaquín M López Muñoz Tue, 11 Nov 2014 19:47:56 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10724#comment:2 https://svn.boost.org/trac10/ticket/10724#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket