C++ Server-Side SDK
LaunchDarkly SDK
Classes | Public Member Functions | Friends | List of all members
launchdarkly::Value::Array Class Reference

#include <value.hpp>

Classes

struct  Iterator
 

Public Member Functions

 Array (std::vector< Value > vec)
 
 Array (std::initializer_list< Value > values)
 
Value const & operator[] (std::size_t index) const
 
std::size_t Size () const
 
Iterator begin () const
 
Iterator end () const
 

Friends

std::ostream & operator<< (std::ostream &out, Array const &arr)
 

Detailed Description

Array type for values. Provides const iteration and indexing.

Constructor & Destructor Documentation

◆ Array()

launchdarkly::Value::Array::Array ( std::vector< Value vec)

Create an array from a vector of Value.

Parameters
vecThe vector to base the array on.

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