MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / array

Method array

extern/json/json.hpp:1720–1724  ·  view source on GitHub ↗

! @brief explicitly create an array from an initializer list Creates a JSON array value from a given initializer list. That is, given a list of values `a, b, c`, creates the JSON value `[a, b, c]`. If the initializer list is empty, the empty array `[]` is created. @note This function is only needed to express two edge cases that cannot be realized with the initializer lis

Source from the content-addressed store, hash-verified

1718 @since version 1.0.0
1719 */
1720 static basic_json array(std::initializer_list<basic_json> init =
1721 std::initializer_list<basic_json>())
1722 {
1723 return basic_json(init, false, value_t::array);
1724 }
1725
1726 /*!
1727 @brief explicitly create an object from an initializer list

Callers 7

createMeshFunction · 0.45
rotation_matrixFunction · 0.45
createModelFunction · 0.45
drawMeshFunction · 0.45
createMeshFunction · 0.45
factorMethod · 0.45

Calls 1

basic_jsonClass · 0.85

Tested by

no test coverage detected