class iterated_past_end


class iterated_past_end
    : public std::exception

Description

This exception type indicates that you tried to iterate past the end of a string. This can occur if the string you are iterating over is malformed and ends with a code unit that indicates that there is more to read when really there isn't.

Public Member Functions

iterated_past_end ()
noexcept

Constructs an iterated_past_end.

iterated_past_end (
    const iterated_past_end& other
)

Copy-constructs an iterated_past_end from an existing one.

Parameters:
  • other:

    The iterated_past_end to copy from.

iterated_past_end&
operator = (
    const iterated_past_end& other
)

Copy-assigns an iterated_past_end into this one.

Parameters:
  • other:

    The iterated_past_end to copy from.

iterated_past_end (
    iterated_past_end&& other
)
noexcept

Move-constructs an iterated_past_end from an existing one.

Parameters:
  • other:

    The iterated_past_end to move from.

iterated_past_end&
operator = (
    iterated_past_end&& other
)
noexcept

Move-assigns an iterated_past_end into this one.

Parameters:
  • other:

    The iterated_past_end to move from.

const char*
what ()
const noexcept override

Returns the explanatory string.



Copyright © 2022-2025 Daniel T. McGinnis

CCL was first published in 2022, and is still actively maintained.

This website was first published in 2022, and is still actively maintained.

This specific web page was first published in 2023.