1 /* 2 * Copyright (c) 2016, Facebook, Inc. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. An additional grant 7 * of patent rights can be found in the PATENTS file in the same directory. 8 */ 9 10 #ifndef FATAL_INCLUDE_fatal_type_fold_h 11 #define FATAL_INCLUDE_fatal_type_fold_h 12 13 #include <fatal/type/impl/fold.h> 14 15 namespace fatal { 16 17 template <typename Seed, typename Fn, typename T> 18 using fold = typename impl_fld::F<Seed, Fn, T>::type; 19 20 } // namespace fatal { 21 22 #endif // FATAL_INCLUDE_fatal_type_fold_h 23