Search Results for

    Show / Hide Table of Contents

    Class Pair

    Pair of two values.

    Inheritance
    Pair
    Assembly: FlaxEngine.dll
    File: Engine/Core/Types/BaseTypes.h
    Syntax
    public class Pair<T, U>
    Type Parameters
    T

    U

    Constructors

    Pair()

    Initializes a new instance of the Pair class.

    Declaration
    public Pair()

    Pair(const Pair& other)

    Initializes a new instance of the Pair class.

    Declaration
    public Pair(const Pair& other)
    Parameters
    Pair other

    The other pair.

    Pair(const T& key, const U& value)

    Initializes a new instance of the Pair class.

    Declaration
    public Pair(const T& key, const U& value)
    Parameters
    T key

    The key.

    U value

    The value.

    Pair(Pair&& other)

    Initializes a new instance of the Pair class.

    Declaration
    public Pair(Pair&& other) noexcept
    Parameters
    Pair other

    The other pair.

    Fields

    First

    The first element.

    Declaration
    public T First
    Field Value
    T

    Second

    The second element.

    Declaration
    public U Second
    Field Value
    U

    Methods

    operator!=(const Pair& other)

    Declaration
    public bool operator!=(const Pair& other) const
    Parameters
    Pair other

    Returns
    bool

    operator=(const Pair& other)

    Declaration
    public Pair operator=(const Pair& other)
    Parameters
    Pair other

    Returns
    Pair

    operator=(Pair&& other)

    Declaration
    public Pair operator=(Pair&& other) noexcept
    Parameters
    Pair other

    Returns
    Pair

    operator==(const Pair& other)

    Declaration
    public bool operator==(const Pair& other) const
    Parameters
    Pair other

    Returns
    bool

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat