Re: Use of STL in ATS

2010-07-26 Thread Alan M. Carroll
I understand the issue with allocation and critical path. Fortunately my current intended use is in an optional, non-critical path case. Are there any concerns about exception safety? Should I take care to wrap any potentially allocating calls in try/catch to handle out of memory conditions? Or

Re: Use of STL in ATS

2010-07-26 Thread Leif Hedstrom
On 07/24/2010 06:44 PM, Alan M. Carroll wrote: Is it an official policy to not use STL, or is that just a legacy of ATS's C heritage? I think this is mostly "heritage", but care should definitely be taken. ATS makes a big effort to avoid memory allocations on the heap in the critical path,