#include "StockData_Modern.h"

// Constructor: Initialize the vector with a given size
StockData_Modern::StockData_Modern(size_t size) : data_(size) {}

// Public method to access data (with bounds checking provided by std::vector::at)
double& StockData_Modern::at(size_t index) {
    return data_.at(index);
}
