Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::EmbeddedArray< T, 0 > Class Template Reference

#include <il.h>

Public Member Functions

intptr_t length () const
 
const Toperator[] (intptr_t i) const
 
Toperator[] (intptr_t i)
 

Detailed Description

template<typename T>
class dart::EmbeddedArray< T, 0 >

Definition at line 374 of file il.h.

Member Function Documentation

◆ length()

template<typename T >
intptr_t dart::EmbeddedArray< T, 0 >::length ( ) const
inline

Definition at line 376 of file il.h.

376{ return 0; }

◆ operator[]() [1/2]

template<typename T >
T & dart::EmbeddedArray< T, 0 >::operator[] ( intptr_t  i)
inline

Definition at line 382 of file il.h.

382 {
383 UNREACHABLE();
384 static T sentinel = nullptr;
385 return sentinel;
386 }
#define UNREACHABLE()
Definition: assert.h:248
#define T
Definition: precompiler.cc:65

◆ operator[]() [2/2]

template<typename T >
const T & dart::EmbeddedArray< T, 0 >::operator[] ( intptr_t  i) const
inline

Definition at line 377 of file il.h.

377 {
378 UNREACHABLE();
379 static T sentinel = nullptr;
380 return sentinel;
381 }

The documentation for this class was generated from the following file: