Records

Functions

  • template <typename Result, typename T>
    const Result & SliceCast (const T & value, SliceCastable<Result, T> )

    Cast to `const Result

    &

    ` from `const T

    &

    ` without any runtime checks.

    This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are

    opted in as compatible via `SliceCastable`.

    Defined at line 43 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/internal/slice_cast.h

  • template <typename Result, typename T>
    Result & SliceCast (T & value, SliceCastable<Result, T> )

    Cast to `Result

    &

    ` from `T

    &

    ` without any runtime checks.

    This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are

    opted in as compatible via `SliceCastable`.

    Defined at line 55 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/internal/slice_cast.h

  • template <typename Resulttypename T>
    Result && SliceCast (T && valueSliceCastable<Result, T> )

    Cast to `Result

    &

    &

    ` from `T

    &

    &

    ` without any runtime checks.

    This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are

    opted in as compatible via `SliceCastable`.

    Defined at line 67 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/internal/slice_cast.h