Re: [Boost-bugs] [Boost C++ Libraries] #12648: Missing includes in boost/icl/left_open_interval.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12648: Missing includes in boost/icl/left_open_interval.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-12-05 15:06:02


#12648: Missing includes in boost/icl/left_open_interval.hpp
-------------------------------------------------+-------------------------
  Reporter: Vincenzo Giovanni Comito | Owner: jofaber
  <clynamen@…> | Status: new
      Type: Bugs | Component: ICL
 Milestone: Boost 1.62.0 | Severity: Problem
   Version: Boost 1.62.0 | Keywords: header
Resolution: | missing
-------------------------------------------------+-------------------------

Comment (by Vincenzo Giovanni Comito <clynamen@…>):

 My compilers versions

 gcc (GCC) 6.2.1 20160830
 Copyright (C) 2016 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions. There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 clang version 3.9.0 (tags/RELEASE_390/final)
 Target: x86_64-unknown-linux-gnu
 Thread model: posix
 InstalledDir: /usr/bin

 both fail with boost 1.62

 Replying to [comment:1 Vincenzo Giovanni Comito <clynamen@…>]:
>
> Adding
>
>
> {{{
> #include <boost/icl/interval.hpp>
> }}}
>
> make it work, but it should not be needed.
>
>
> Replying to [ticket:12648 Vincenzo Giovanni Comito <clynamen@…>]:
> > This example does not compile
> >
> >
> > {{{
> > #include <boost/icl/left_open_interval.hpp>
> >
> > int main(int argc, char** argv) {
> > return 0;
> > }
> > }}}
> >
> > compilation result:
> >
> > {{{
> > In file included from /usr/include/boost/config.hpp:61:0,
> > from /usr/include/boost/concept/assert.hpp:7,
> > from
 /usr/include/boost/icl/left_open_interval.hpp:12,
> > from main.cpp:1:
> > /usr/include/boost/icl/type_traits/rep_type_of.hpp:36:9: error:
 â€˜is_same’ was not declared in this scope
> > BOOST_STATIC_CONSTANT(bool,
> >
> > }}}
> >

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12648#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:20 UTC