 
 import SwiftShims
 
+/// A common base class for all `ManagedBuffer<V,E>`\ 's.
+public class ManagedBufferBase {}
+
 /// A class whose instances contain a property of type `Value` and raw
 /// storage for an array of `Element`, whose size is determined at
 /// instance creation.

    return result
  }

  // helper function for create, above
  internal final class func _allocate(
    totalSize: Int, alignMask: Int
  ) -> ManagedBuffer {
    return unsafeDowncast(
        _swift_bufferAllocate(self, totalSize, alignMask)
      )
  }

  /// Make ordinary initialization unavaible
  internal init() {
    fatalError("Only initialize these by calling create")
  }
  

  }

  /// The stored `Value` instance.
  ///
  /// Note: this value must not be accessed during instance creation.
  public final var value: Value {
    get {
      return withUnsafeMutablePointerToValue {
