/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ScrollGeneration.h" #include namespace mozilla { template ScrollGeneration::ScrollGeneration() : mValue(0) {} template ScrollGeneration::ScrollGeneration(uint64_t aValue) : mValue(aValue) {} template bool ScrollGeneration::operator<( const ScrollGeneration& aOther) const { return mValue < aOther.mValue; } template bool ScrollGeneration::operator==( const ScrollGeneration& aOther) const { return mValue == aOther.mValue; } template bool ScrollGeneration::operator!=( const ScrollGeneration& aOther) const { return !(*this == aOther); } template std::ostream& operator<<(std::ostream& aStream, const ScrollGeneration& aGen) { return aStream << aGen.mValue; } template struct ScrollGeneration; template struct ScrollGeneration; template std::ostream& operator<<(std::ostream&, const ScrollGeneration&); template std::ostream& operator<<(std::ostream&, const ScrollGeneration&); } // namespace mozilla