Path: csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 20 Feb 2016 15:20:02 -0600 Return-Path: Sender: std-cpp-request@vandevoorde.com Approved: austern@google.com Message-ID: Newsgroups: comp.std.c++ From: Ian Collins Subject: Re: Specifying standard headers that don't require run time support Organization: unknown References: <56994da3$0$18521$e4fe514c@newszilla.xs4all.nl> Content-Type: text/plain; charset=windows-1252; format=flowed X-Original-Date: Wed, 10 Feb 2016 20:14:08 +1300 X-Submission-Address: std-cpp-submit@vandevoorde.com Date: Sat, 20 Feb 2016 15:18:30 CST Lines: 54 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-74MNhFbWUI2tuxvYbXJg37rp36hqydraqcC0y/SrIsPFwGcQLCF2lMG274QVNo3AQoUP0z47No5FFGQ!/7nhrZ3hGP3xWT3p858AMAtQt7luDvOEhu9BCrFgBKJ/TqVG6xFXRGP+e4c= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2837 X-Received-Bytes: 2949 X-Received-Body-CRC: 789842915 Xref: csiph.com comp.std.c++:782 Wouter van Ooijen wrote: > > > Op 15-Jan-16 om 8:07 PM schreef Bo Persson: >> >> >> >> On 2016-01-05 20:16, Ian Collins wrote: >>> >>> >>> >>> >>> Hello, >>> >>> Has there ever been a move to formally identify standard library >>> headers that don't require run time (especially dynamic allocation) >>> support? An obvious example would be . >>> >>> The reason I ask is to make at least a subset of the standard library >>> available to smaller embedded projects. >>>  >>> >>> >> >> No, I don't think so. >> >> The standards committee is, in general, not very fond of defining >> language subsets. They strongly prefer compilers to implement the >> whole language. > > > The question wass not about a compiler implementing a subset, but > about library functions (or headers, as groups of functions) that do > not need a particular feature that is incompatible with a specialized > use, like heap and execptions (and maybe RTTO) not being compatible > with (very) small micro-controllers. Not necessarily small, my application was for 32 bit ARM. A ban on dynamic memory is usage is common in embedded systems. This is a big niche! -- Ian Collins [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]