KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
template<typename T, std::size_t N> | |
constexpr std::size_t | arrayDim (T const (&)[N]) noexcept |
Returns # of elements in an array. | |
Returns # of elements in an array.
This implements type-safe compile time checking
Definition at line 31 of file arraydim.h.
References T.
Referenced by PCB_IO_EAGLE::clear_cu_map(), PCB_IO_EAGLE::defaultKicadLayer(), GAL_SET::DefaultVisible(), DIELECTRIC_SUBSTRATE_LIST::DIELECTRIC_SUBSTRATE_LIST(), EVT_TOOL_RANGE(), FindKicadFile(), BASE_SET::FmtHex(), DIALOG_GENDRILL::genDrillAndMapFiles(), AUTOPLACER::getCollidingSides(), AUTOPLACER::getPreferredSides(), GetStandardCopperFinishes(), KIWAY::KiFACE(), PL_EDITOR_FRAME::PL_EDITOR_FRAME(), GERBER_LAYER_WIDGET::ReFillRender(), PGM_BASE::SetLanguageIdentifier(), EDA_DRAW_FRAME::updateStatusBarWidths(), and UserVisbilityLayers().