Re: [Boost-bugs] [Boost C++ Libraries] #10838: Missing std:: qualifier for strlen calls in string_ref_test2.cpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10838: Missing std:: qualifier for strlen calls in string_ref_test2.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-12-02 20:31:56


#10838: Missing std:: qualifier for strlen calls in string_ref_test2.cpp
--------------------------------------------+----------------------
  Reporter: Aparna Kumta <Aparna.Kumta@…> | Owner: marshall
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: utility
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------------+----------------------

Comment (by Aparna Kumta <Aparna.Kumta@…>):

 Per the C++ standard,

 D.5 C standard library headers

 2 Every C header, each of which has a name of the form name.h, behaves as
 if each name placed in the standard library namespace by the corresponding
 cname header is placed within the global namespace scope. It is
 unspecified whether these names are first declared or defined within
 namespace scope (3.3.6) of the namespace std and are then injected into
 the global namespace scope by explicit using-declarations (7.3.3).

 3 [ Example: The header <cstdlib> assuredly provides its declarations and
 definitions within the namespace
 std. It may also provide these names within the global namespace. The
 header <stdlib.h> assuredly
 provides the same declarations and definitions within the global
 namespace, much as in the C Standard. It
 may also provide these names within the namespace std. —end example ]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10838#comment:2>
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