Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.std.c++ > #782

Re: Specifying standard headers that don't require run time support

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 <cppmods@glengoyne.dreamhost.com>
Sender std-cpp-request@vandevoorde.com
Approved austern@google.com
Message-ID <di06a0F5stkU2@mid.individual.net> (permalink)
Newsgroups comp.std.c++
From Ian Collins <ian-news@this.is.invalid>
Subject Re: Specifying standard headers that don't require run time support
Organization unknown
References <ddpc8vF69dfU5@mid.individual.net> <df49pcF8opiU1@mid.individual.net> <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

Show key headers only | View raw


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 <array>.
>>>
>>> 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                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Specifying standard headers that don't require run time support Ian Collins <ian-news@this.is.invalid> - 2016-01-05 13:16 -0600
  Re: Specifying standard headers that don't require run time support Martin Bonner <martinfrompi@yahoo.co.uk> - 2016-01-15 13:07 -0600
  Re: Specifying standard headers that don't require run time support Bo Persson <bop@gmb.dk> - 2016-01-15 13:07 -0600
    Re: Specifying standard headers that don't require run time support Francis Glassborow <francis.glassborow@btinternet.com> - 2016-02-08 11:27 -0600
    Re: Specifying standard headers that don't require run time support Wouter van Ooijen <wouter@voti.nl> - 2016-02-08 11:27 -0600
      Re: Specifying standard headers that don't require run time support Ian Collins <ian-news@this.is.invalid> - 2016-02-20 15:18 -0600
  Re: Specifying standard headers that don't require run time support Keith Thompson <kst-u@mib.org> - 2016-04-01 19:07 -0600

csiph-web