<commit_before>#ifndef __INCLUDED_DFE14DD2645911E6BAE000F1F38F93EF
#define __INCLUDED_DFE14DD2645911E6BAE000F1F38F93EF

#include <RTypes.h>

template <class DerivedType, class T, class StorageType = T *>
class RBasicPointer
{
public:
  typedef DerivedType ThisType;

  RBasicPointer() : mPtr(0)
  {
  }
<commit_msg>Fixed pointer pointer not converted to storage type<commit_after>#ifndef __INCLUDED_DFE14DD2645911E6BAE000F1F38F93EF
#define __INCLUDED_DFE14DD2645911E6BAE000F1F38F93EF

#include <RTypes.h>

template <class DerivedType, class T, class StorageType_ = T *>
class RBasicPointer
{
public:
  typedef DerivedType  ThisType;
  typedef T            ValueType;
  typedef StorageType_ StorageType;

  RBasicPointer() : mPtr(0)
  {
  }

  RBasicPointer(const T *ptr) : mPtr(getThis()->toStorageType(ptr))
  {
  }

{'fraction_non_alphanumeric': 0.08078335373317014, 'fraction_numerical': 0.09057527539779682, 'mean_word_length': 5.544, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2054600', 'n_tokens_mistral': 352, 'n_tokens_neox': 314, 'n_words': 61}