MathWorks Interview Question

Design a C++ string class. What are function closures.