[Boost-bugs] [Boost C++ Libraries] #10725: UNINIT_CTOR

Subject: [Boost-bugs] [Boost C++ Libraries] #10725: UNINIT_CTOR
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-31 08:51:01


#10725: UNINIT_CTOR
---------------------------------------------+-------------------------
 Reporter: anup kumar <anup.shrivastava@…> | Owner: joaquin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: |
---------------------------------------------+-------------------------
 In default constructor for the structure "link_info " the private members
 are not initialized hence it shows a code quality error UNINIT_CTOR() as
 defined below :-

 struct link_info
  {

  '''Uninitialized pointer field (UNINIT_CTOR)2. uninit_member: Non-static
 class member "pos" is not initialized in this constructor nor in any
 functions that it calls'''.
   link_info():side(to_left){}

     ordered_index_side side;
  '''member_decl: Class member declaration for "pos".'''
     node_impl_pointer pos;
    };

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10725>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC