1 2/* Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved 3 * written by Walter Bright 4 * http://www.digitalmars.com 5 * Distributed under the Boost Software License, Version 1.0. 6 * http://www.boost.org/LICENSE_1_0.txt 7 * https://github.com/dlang/dmd/blob/master/src/dmd/root/dcompat.h 8 */ 9 10#pragma once 11 12#include "dsystem.h" 13 14/// Represents a D [ ] array 15template<typename T> 16struct DArray 17{ 18 size_t length; 19 T *ptr; 20}; 21