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. | |
|
constexprnoexcept |
Returns # of elements in an array.
This implements type-safe compile time checking
Definition at line 31 of file arraydim.h.
Referenced by PROJECT_ARCHIVER::Archive(), PCB_IO_EAGLE::clear_cu_map(), PCB_IO_EAGLE::defaultKicadLayer(), GAL_SET::DefaultVisible(), DIELECTRIC_SUBSTRATE_LIST::DIELECTRIC_SUBSTRATE_LIST(), dlg_layers(), EVT_TOOL_RANGE(), FindKicadFile(), LSET::FmtHex(), DIALOG_GENDRILL::GenDrillAndMapFiles(), GERBER_FILE_IMAGE::GERBER_FILE_IMAGE(), AUTOPLACER::getCollidingSides(), GERBER_FILE_IMAGE::GetDCODE(), GERBER_FILE_IMAGE::GetDCODEOrCreate(), GERBER_FILE_IMAGE::GetDcodesCount(), DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog(), AUTOPLACER::getPreferredSides(), GetStandardCopperFinishes(), KIWAY::KiFACE(), PANEL_GERBVIEW_DISPLAY_OPTIONS::loadSettings(), PL_EDITOR_FRAME::PL_EDITOR_FRAME(), GERBER_LAYER_WIDGET::ReFillRender(), PGM_BASE::SetLanguageIdentifier(), EDA_DRAW_FRAME::updateStatusBarWidths(), and GERBER_FILE_IMAGE::~GERBER_FILE_IMAGE().