Files
opm-core/readvector.hpp
Bård Skaflestad 7cf3c62688 Declare explicit overloads for ints and doubles.
Implement in terms of existing function template.
2011-12-02 15:16:35 +01:00

23 lines
582 B
C++

/*===========================================================================
//
// File: readvector.hpp
//
// Created: 2011-11-30 09:35:14+0100
//
// Author: Jostein R. Natvig <Jostein.R.Natvig@sintef.no>
//
//==========================================================================*/
/*
Copyright 2011 SINTEF ICT, Applied Mathematics.
*/
#ifndef READVECTOR_HPP_HEADER
#define READVECTOR_HPP_HEADER
void read_vector_from_file(const char *fn, std::vector<int>& v);
void read_vector_from_file(const char *fn, std::vector<double>& v);
#endif /* READVECTOR_HPP_HEADER */