Examples
This chapter provides a variety of examples showing how to use bronto-refactor
to accomplish different types of refactors.
Changing return types
Changing a function's return type.
Converting between function and methods
Converting a free function to a member function on a class or struct and vice versa.
Making default arguments explicit
Removing a default argument from a function by making it explicit for all callers.
Make implicit conversions explicit
Finding all implicit conversions, casts, or promotions between two types and replacing them with explicit casts.
Renaming a function
Renaming a function globally.
Removing `using namespace std`
Update your code to follow the accepted best practice of explicitly referencing symbols in the standard namespace.
Renaming a namespace
Renaming a namespace globally.