Groups | Search | Server Info | Login | Register


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

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

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>
Date 2016-02-20 15:18 -0600

Show all headers | 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