This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] Remove unused <vector> function


Paolo Carlini <pcarlini@suse.de> writes:

| Phil Edwards wrote:
| 
| > Good catch. If there are any other _GLIBCXX_DEPRECATED parts, they can
| > probably go too. (I don't have source handy to check.)
| 
| Actually, we have got 3!
| 
| ./include/bits/basic_string.h:1008:#ifdef _GLIBCXX_DEPRECATED
| 
|     iterator
|     insert(iterator __p)


This can go away.

| ./include/bits/ios_base.h:360:#ifdef _GLIBCXX_DEPRECATED
| 
|     // Annex D.6
|     typedef int io_state;
|     typedef int open_mode;
|     typedef int seek_dir;
|      typedef std::streampos streampos;
|     typedef std::streamoff streamoff;

These NOT.  There are too much pre-norm existing codes that would break.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]