Using either plain C++ or the Boost.Hana library, write a function that when passed an integer returns its Fibonacci value.
(techno sound effects)…- [Instructor] Are you up to test your skills…with a little challenge?…Use template metaprogramming to create…a function to generate the Fibonacci series.…The series begins with zero, one, one, two.…The next number in the series is the sum…of the last two.…You'll want specializations for the numbers…zero and one.…Give yourself five or 10 minutes…to complete this challenge.…
- Unit testing and functional programming
- Function and Lambda functions
- C++ templates
- Working with the Standard Template Library and Boost.Hana
- Functional reactive programming
Skill Level Intermediate
2. Functional Programming in Modern C++
3. Template Metaprogramming
4. Functional Reactive Programming
RxCpp library5m 21s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.