This is mostly a simple lexical search+replace but the absence of operator< for std::weak_ptr<T> leads to some complications, particularly with Evoral::Sequence and ExportPortChannel.
Some of these tests should be moved to libtemoral. On 64bit Linux the tests pass, except various RangeTests.