2013-08-08 09:54:33 +00:00
|
|
|
/*=============================================================================
|
2015-01-10 10:13:57 +00:00
|
|
|
Copyright (c) 2011-2015 Bolero MURAKAMI
|
2013-08-08 09:54:33 +00:00
|
|
|
https://github.com/bolero-MURAKAMI/Sprout
|
|
|
|
|
|
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
=============================================================================*/
|
2014-05-29 16:22:00 +00:00
|
|
|
#ifndef SPROUT_ALGORITHM_FIT_RESULTS_HPP
|
|
|
|
#define SPROUT_ALGORITHM_FIT_RESULTS_HPP
|
2011-09-03 13:26:26 +00:00
|
|
|
|
2012-03-31 07:24:13 +00:00
|
|
|
#include <type_traits>
|
2011-09-03 13:26:26 +00:00
|
|
|
#include <sprout/config.hpp>
|
2012-03-31 07:24:13 +00:00
|
|
|
#include <sprout/container/traits.hpp>
|
|
|
|
#include <sprout/container/metafunctions.hpp>
|
2013-11-20 13:04:11 +00:00
|
|
|
#include <sprout/algorithm/fixed/results.hpp>
|
2013-08-08 09:54:33 +00:00
|
|
|
#include <sprout/sub_array/sub_array.hpp>
|
2011-09-03 13:26:26 +00:00
|
|
|
|
|
|
|
namespace sprout {
|
|
|
|
namespace fit {
|
2013-11-20 13:04:11 +00:00
|
|
|
namespace results {
|
2011-09-03 13:26:26 +00:00
|
|
|
//
|
|
|
|
// algorithm
|
|
|
|
//
|
|
|
|
template<typename Result>
|
|
|
|
struct algorithm {
|
|
|
|
public:
|
|
|
|
typedef sprout::sub_array<
|
2012-03-31 07:24:13 +00:00
|
|
|
typename std::decay<
|
|
|
|
typename sprout::containers::internal<
|
2013-11-20 13:04:11 +00:00
|
|
|
typename sprout::fixed::results::algorithm<Result>::type
|
2012-03-31 07:24:13 +00:00
|
|
|
>::type
|
|
|
|
>::type
|
2011-09-03 13:26:26 +00:00
|
|
|
> type;
|
|
|
|
};
|
2013-11-20 13:04:11 +00:00
|
|
|
} // namespace results
|
2011-09-03 13:26:26 +00:00
|
|
|
} // namespace fit
|
|
|
|
} // namespace sprout
|
|
|
|
|
2014-05-29 16:22:00 +00:00
|
|
|
#endif // #ifndef SPROUT_ALGORITHM_FIT_RESULTS_HPP
|