Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
ARRAY.h File Reference

Macros

#define _COMPILER_VERSION
 
#define ARRAY(_t, _n, _m)
 

Detailed Description

Defines a portable replacement for run-time sized local arrays and for alloca().

Macro Definition Documentation

◆ ARRAY

#define ARRAY (   _t,
  _n,
  _m 
)

Makes a run-time sized array for local storage.

In gcc and other compilers that support it, this turns into "type name[n]".

In other systems this turns into calls to alloca().

In others still (Windows) it turns into C++ templates that rely on the destructor to get the same result, though much less efficiently.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com