chromium/codelabs/cpp101/solutions/fibonacci.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"

namespace {

struct FibonacciState {};

int ComputeNextFibonacciNumber(FibonacciState* state) {}

// Creates and returns a closure which returns the next Fibonacci number each
// time it is run.
base::RepeatingCallback<int()> MakeFibonacciClosure() {}

}  // namespace

int main(int argc, char* argv[]) {}